All of lore.kernel.org
 help / color / mirror / Atom feed
* DTB backward/forward compatibility with "pinctrl: bcm2835: Change init order for gpio hogs"
@ 2022-01-25 19:39 Florian Fainelli
  2022-01-25 19:48 ` Phil Elwell
  0 siblings, 1 reply; 11+ messages in thread
From: Florian Fainelli @ 2022-01-25 19:39 UTC (permalink / raw)
  To: linus.walleij, phil, linux-arm-kernel
  Cc: Stefan Wahren, Nicolas Saenz Julienne

Hi,

I am a bit frustrated by this commit, we picked it up via the stable 
5.10 and 5.15 trees into our downstream tree, and in the absence of a 
suitable 'gpio-ranges' property for the GPIO controller, the SPI 
controller keeps getting -EPROBE_DEFER for its chip select. If the 
property is present, then all is well.

Now the problem in my case is that the boot loader is responsible for 
providing the DTB to the kernel, and until recently, we did not update 
it to contain a suitable 'gpio-ranges' property. Now that it has been 
updated however, older kernels which *do not* have said change in the 
subject are also getting -EPROBE_DEFER for the SPI chip select.

So this is just breaking backward/forward compatibility with the DTB 
unless both are updated in lock steps which is *extremely* inconvenient.

This is death by a thousand cuts.

So how do we remedy this?
-- 
Florian

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-03-09  1:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 19:39 DTB backward/forward compatibility with "pinctrl: bcm2835: Change init order for gpio hogs" Florian Fainelli
2022-01-25 19:48 ` Phil Elwell
2022-01-25 19:58   ` Florian Fainelli
2022-01-26  1:33     ` Florian Fainelli
2022-01-27 16:31       ` Stefan Wahren
2022-03-06 15:03         ` Stefan Wahren
2022-03-06 16:54           ` Florian Fainelli
2022-03-06 17:58             ` Stefan Wahren
2022-03-07 11:38             ` Stefan Wahren
2022-03-08 19:13               ` Stefan Wahren
2022-03-09  1:10                 ` Florian Fainelli

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.