[PATCH] spi: bcm2835: transform native-cs to gpio-cs on first spi_setup

Martin Sperl kernel at martin.sperl.org
Mon Apr 6 10:58:15 PDT 2015


> On 06.04.2015, at 19:45, Mark Brown <broonie at kernel.org> wrote:
> 
> Requiring every system to update the DT to specify information that we
> can already get easily (and using a less readable format in that update)
> doesn't seem like a clear win for me...

If you prefer that, then apply it - i just wanted to offer both options!

One note though: as most systems will get "deploying" the rpi-foundation
pre-build kernels and their corresponding device tree it seems unlikely 
that a lot of alternate dts will get used...

So when they switch, then >99% of all users will be using the new code
plus the new device-tree that handles that.

That is why I see this as a good example of future bit-rot, where we
have to maintain 20+ lines versus about 5 lines with just a message...





More information about the linux-rpi-kernel mailing list