Re: [RFC 03/18] GPIO: gpio-generic: Add label to platform data
From: Linus Walleij
Date: Mon Dec 23 2013 - 12:26:55 EST
On Mon, Dec 23, 2013 at 5:23 PM, Pawel Moll <pawel.moll@xxxxxxx> 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@xxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Alexandre Courbot <gnurou@xxxxxxxxx>
> Cc: Anton Vorontsov <anton@xxxxxxxxxx>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/