[PATCH 08/11] ARM: davinci: start using gpiolib support
Linus Walleij
linus.walleij at linaro.org
Thu May 30 14:19:01 EDT 2013
On Wed, May 22, 2013 at 9:10 AM, Philip Avinash <avinashphilip at ti.com> 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 at ti.com>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
> +/* 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
More information about the linux-arm-kernel
mailing list