device tree nodes and platform drivers

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Thu May 18 12:43:15 EDT 2017


On Thu, 18 May 2017 12:38:01 -0400, Max Ruttenberg said:
> >On Thu, May 18, 2017 at 12:34 PM,  <valdis.kletnieks at vt.edu> wrote:
> >> On Thu, 18 May 2017 12:23:18 -0400, Max Ruttenberg said:
> >>
> >>> I figured it out... the system I am working with never makes a call to
> >>> of_platform_populate(NULL, NULL, NULL, NULL) and instead ops for
> >>> subsystems manually probing the device tree. Live and learn.
> >>
> >> So submit a patch to add the call. :)
>
> That's a cool idea. Where would one add such a call? In an early_initcall?

Look at where other similar systems do it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170518/fa339322/attachment.bin 


More information about the Kernelnewbies mailing list