[PATCH] spi: bcm2835: transform native-cs to gpio-cs on first spi_setup
broonie at kernel.org
Mon Apr 6 11:10:33 PDT 2015
On Mon, Apr 06, 2015 at 07:58:15PM +0200, Martin Sperl wrote:
> 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.
People adding things to the standard kernel (presumably people push
their board support in there) would still have to work out which chip
select corresponds to which GPIO and write that mapping into their DT
with the corresponding loss of legibility there, and of course there's
the cost of modifying existing users.
It *would* be nice if the mapping to which pin has which function were
pushed into the pinctrl driver (and then possibly into the DT for it)
but generally this seems like something we should be doing more of not
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: Digital signature
More information about the linux-rpi-kernel