Messages in this thread | | | Date | Thu, 25 Apr 2013 23:52:00 +0200 | Subject | Re: [PATCH 4/8] metag: tz1090: add <asm/soc-tz1090/gpio.h> | From | Linus Walleij <> |
| |
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan <james.hogan@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@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
| |