]> Git Repo - linux.git/commit - drivers/of/dynamic.c
of: dynamic: Add interfaces for creating device node dynamically
authorLizhi Hou <[email protected]>
Tue, 15 Aug 2023 17:19:56 +0000 (10:19 -0700)
committerRob Herring <[email protected]>
Tue, 22 Aug 2023 19:56:09 +0000 (14:56 -0500)
commitb544fc2b8606d718d0cc788ff2ea2492871df488
tree1445d3452f3152d6763edce639e81268d466baef
parentef04d2801c5d239b83932f8ce97af1d4a1ec1cf7
of: dynamic: Add interfaces for creating device node dynamically

of_changeset_create_node() creates device node dynamically and attaches
the newly created node to a changeset.

Expand of_changeset APIs to handle specific types of properties.
    of_changeset_add_prop_string()
    of_changeset_add_prop_string_array()
    of_changeset_add_prop_u32_array()

Signed-off-by: Clément Léger <[email protected]>
Signed-off-by: Lizhi Hou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
drivers/of/dynamic.c
drivers/of/unittest.c
include/linux/of.h
This page took 0.063158 seconds and 4 git commands to generate.