All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] pre-reloc fdt scan for non-top-level nodes
@ 2019-02-28 10:52 viktor babrian
  2019-02-28 16:49 ` viktor babrian
  0 siblings, 1 reply; 2+ messages in thread
From: viktor babrian @ 2019-02-28 10:52 UTC (permalink / raw)
  To: u-boot

Hi,

sorry for flooding; I have already sent this email to u-boot-dm. I
just wonder if that list is alive.

as far as I understood, the pre-reloc device binding of drivers having
DM_FLAG_PRE_RELOC flag set is only performed for top-level devices -
at least that is what I experience. Is this intentional? What is the
concept there?
I am trying to use a spi slave display that is by default described as
a node under root/soc/spiX. We have the device working under Linux. I
understand these displays are not supported as is in u-boot so I
ported some Linux code and made some minor mods in the video uclass.
Still I do not have memory reserved for the frame-buffer and debugging
shows that it is because bind() is not invoked pre-reloc. And it is
not invoked because dm_extended_scan_fdt() parses top-level nodes
only.
I wonder if that pre-reloc scan is so for some purpose because a
recursive scan would seemingly be justified in my case.
(or am I just missing something?)

Any comments are welcome,
Thanks,
Viktor

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] pre-reloc fdt scan for non-top-level nodes
  2019-02-28 10:52 [U-Boot] pre-reloc fdt scan for non-top-level nodes viktor babrian
@ 2019-02-28 16:49 ` viktor babrian
  0 siblings, 0 replies; 2+ messages in thread
From: viktor babrian @ 2019-02-28 16:49 UTC (permalink / raw)
  To: u-boot

I can already answer my questions: all parent devices of the spi
display (5 in my case) need to have the u-boot,dm-pre-reloc flag set
in dt and bound before reloc.

Thx anyway,
Viktor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-28 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 10:52 [U-Boot] pre-reloc fdt scan for non-top-level nodes viktor babrian
2019-02-28 16:49 ` viktor babrian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.