]> Git Repo - linux.git/commit
of: platform: populate /firmware/ node from of_platform_default_populate_init()
authorSudeep Holla <[email protected]>
Thu, 28 Sep 2017 10:45:59 +0000 (11:45 +0100)
committerAndy Gross <[email protected]>
Thu, 4 Jan 2018 20:00:20 +0000 (14:00 -0600)
commit3aa0582fdb824139630298880fbf78d4ac774d3c
tree1c79dddf40aa60313bb687e97449949c0f017c11
parentc01fc2275e01a91e2243d9202c04f3ed872f9de8
of: platform: populate /firmware/ node from of_platform_default_populate_init()

Since "/firmware" does not have its own "compatible" property as it's
just collection of nodes representing firmware interface, it's sub-nodes
are not populated during system initialization.

Currently different firmware drivers search the /firmware/ node and
populate the sub-node devices selectively. Instead we can populate
the /firmware/ node during init to avoid more drivers continuing to
populate the devices selectively.

To generalize the solution this patch populates the /firmware/ node
explicitly from of_platform_default_populate_init().

Cc: Arnd Bergmann <[email protected]>
Cc: Rob Herring <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Bjorn Andersson <[email protected]>
Tested-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
drivers/of/platform.c
This page took 0.053924 seconds and 4 git commands to generate.