diff options
Diffstat (limited to 'include/asm-arm/arch-omap/gpio.h')
-rw-r--r-- | include/asm-arm/arch-omap/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/gpio.h b/include/asm-arm/arch-omap/gpio.h index 97b397dd7e87..164da09be095 100644 --- a/include/asm-arm/arch-omap/gpio.h +++ b/include/asm-arm/arch-omap/gpio.h | |||
@@ -62,6 +62,8 @@ | |||
62 | #define OMAP_MPUIO_LATCH 0x34 | 62 | #define OMAP_MPUIO_LATCH 0x34 |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | #define OMAP34XX_NR_GPIOS 6 | ||
66 | |||
65 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) | 67 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) |
66 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) | 68 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) |
67 | 69 | ||
@@ -75,6 +77,8 @@ extern void omap_free_gpio(int gpio); | |||
75 | extern void omap_set_gpio_direction(int gpio, int is_input); | 77 | extern void omap_set_gpio_direction(int gpio, int is_input); |
76 | extern void omap_set_gpio_dataout(int gpio, int enable); | 78 | extern void omap_set_gpio_dataout(int gpio, int enable); |
77 | extern int omap_get_gpio_datain(int gpio); | 79 | extern int omap_get_gpio_datain(int gpio); |
80 | extern void omap_set_gpio_debounce(int gpio, int enable); | ||
81 | extern void omap_set_gpio_debounce_time(int gpio, int enable); | ||
78 | 82 | ||
79 | /*-------------------------------------------------------------------------*/ | 83 | /*-------------------------------------------------------------------------*/ |
80 | 84 | ||