Thread (10 messages) 10 messages, 4 authors, 2017-12-26

[RESEND][PATCH 1/4] of: platform: populate /firmware/ node from of_platform_default_populate_init()

From: Sudeep Holla <hidden>
Date: 2017-10-23 16:00:09
Also in: linux-devicetree, lkml

Hi Arnd,

On 17/10/17 14:02, Rob Herring wrote:
On Thu, Sep 28, 2017 at 5:45 AM, Sudeep Holla [off-list ref] wrote:
quoted
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().
You had concernsin the past and I mentioned that firmware interface to
user-space *has* to continue in /sys/firmware, but he platform_device
management is internal to kernel.

Can we proceed with this change at-least for qcom and meson firmware
which are platform device already ? I can drop optee related changes.

-- 
Regards,
Sudeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help