[PATCH] spi: bcm2835: transform native-cs to gpio-cs on first spi_setup
swarren at wwwdotorg.org
Mon Apr 6 20:04:41 PDT 2015
On 04/06/2015 11:58 AM, Martin Sperl wrote:
>> 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.
I wouldn't be at all surprised if many people maintained their own DT in
order to add in support for whatever extra peripherals they've connected
to the expansion header. The correct way to do this is of course to add
a patch on top of the kernel tree, and rebase, rebuild, and reinstall
the DTB whenever the kernel gets upgraded. However, the likelihood of
/everyone/ doing that seems low; I'd certainly expect to see some people
simply not upgrading their DTB.
More information about the linux-rpi-kernel