Re: [PATCH 08/11] ARM: davinci: start using gpiolib support

From: Linus Walleij
Date: Thu May 30 2013 - 14:19:10 EST


On Wed, May 22, 2013 at 9:10 AM, Philip Avinash <avinashphilip@xxxxxx> wrote:

> - Remove NEED_MACH_GPIO_H config option for Davinci platforms to start
> using common gpio library interface.
> - Added struct davinci_gpio_controller definitions in platform_data
> directory for Davinci gpio devices.
> - Removed GPIO_TYPE_DAVINCI enum definition as GPIO Davinci is converted
> to Linux device driver model.
>
> Signed-off-by: Philip Avinash <avinashphilip@xxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

> +/* Convert GPIO signal to GPIO pin number */
> +#define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio))

Hm not synonymous with pinctrl pins, well I guess I have to live
with this...

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/