Thread (4 messages) 4 messages, 3 authors, 2023-03-23

Re: [PATCH/RFC] treewide: Fix instantiation of devices in DT overlay

From: Mark Brown <broonie@kernel.org>
Date: 2023-03-20 16:15:04
Also in: linux-devicetree, linux-i2c, linux-renesas-soc, linux-spi, lkml

On Fri, Mar 17, 2023 at 11:33:18AM +0100, Geert Uytterhoeven wrote:
When loading a DT overlay that creates a device, the device is not
instantiated, unless the DT overlay is unloaded and reloaded again.

Saravana explains:
  Basically for all overlays (I hope the function is only used for
  overlays) we assume all nodes are NOT devices until they actually
  get added as a device. Don't review the code, it's not meant to be :)

Based on a hacky patch by Saravana Kannan, which covered only platform
and spi devices.
Acked-by: Mark Brown <broonie@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help