[RFC 03/18] GPIO: gpio-generic: Add label to platform data
Linus Walleij
linus.walleij at linaro.org
Mon Dec 23 12:26:49 EST 2013
On Mon, Dec 23, 2013 at 5:23 PM, Pawel Moll <pawel.moll at arm.com> wrote:
> When registering more than one platform device, it is
> useful to set the gpio chip label in the platform data.
>
> Signed-off-by: Pawel Moll <pawel.moll at arm.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Alexandre Courbot <gnurou at gmail.com>
> Cc: Anton Vorontsov <anton at enomsg.org>
Good point. But what about also adding device tree support for
naming the chips while you're at it?
I imagine a generic gpiochip property in
Documentation/devicetree/bindings/gpio/gpio.txt
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list