[PATCH v2] pinctrl: bcm2835: Start GPIO numeration at zero

Matthias Klein matthias.klein at linux.com
Mon Oct 27 16:05:24 PDT 2014


Am 27.10.2014 um 23:44 schrieb Stephen Warren:
> On 10/27/2014 04:09 PM, Matthias Klein wrote:
>> Numerate the GPIOs from 0..53 instead of 202..255.
>
> What's the motivation for this? The GPIO IDs should all come from DT, 
> which encodes everything as an ID relative to a particular 
> controllers, and hence the actual value of the base address should be 
> irrelevant.
- To be in sync with the GPIO numbers in the datasheet / documentation
- For userland applications which rely on these GPIO numbers




More information about the linux-rpi-kernel mailing list