From 4eaf126e0634d9797c00ed2650e2d1396a4a69a2 Mon Sep 17 00:00:00 2001 From: Nikita Kiryanov Date: Thu, 30 Jul 2015 23:56:22 +0300 Subject: [PATCH] gpio: am43xx: expand gpio support AM43XX SoCs support up to 192 GPIO signals. Make this amount available to the driver. Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- arch/arm/include/asm/arch-am33xx/gpio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h b/arch/arm/include/asm/arch-am33xx/gpio.h index 220603db5a..89ab055385 100644 --- a/arch/arm/include/asm/arch-am33xx/gpio.h +++ b/arch/arm/include/asm/arch-am33xx/gpio.h @@ -6,7 +6,11 @@ #include +#ifdef CONFIG_AM43XX +#define OMAP_MAX_GPIO 192 +#else #define OMAP_MAX_GPIO 128 +#endif #define AM33XX_GPIO0_BASE 0x44E07000 #define AM33XX_GPIO1_BASE 0x4804C000 -- 2.25.1