[PATCH 4/8] metag: tz1090: add <asm/soc-tz1090/gpio.h>

Linus Walleij linus.walleij at linaro.org
Fri Apr 26 07:52:00 EST 2013


On Tue, Apr 23, 2013 at 4:33 PM, James Hogan <james.hogan at imgtec.com> wrote:

> Add <asm/soc-tz1090/gpio.h> with definitions to number all the GPIOs
> available on-chip. This is for use by the pinctrl and GPIO drivers.
>
> Signed-off-by: James Hogan <james.hogan at imgtec.com>

Usually the specific pins and names is a pecularity best contained
in the GPIO or pinctrl subsystem.

Please try to push this down into the driver, and only use a simple number
to access the GPIOs.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list