diff options
author | Varadarajan, Charulatha <charu@ti.com> | 2010-12-08 03:26:56 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-08 03:26:56 +0300 |
commit | 59c348c38fbe85e6e86c711b9a38c37315008d9e (patch) | |
tree | 874b3c0b77c74453f798ad8145fd343b2b688e4a /arch/arm/plat-omap/include/plat/gpio.h | |
parent | 9d52342c27b7b43c4a7b24bac24ff7bee0b80e07 (diff) | |
download | linux-59c348c38fbe85e6e86c711b9a38c37315008d9e.tar.xz |
OMAP2420: hwmod data: Add GPIO
Add GPIO hwmod data for OMAP2420 and add the required
GPIO device attributes in the gpio header file
Also remove "omap24xx.h" header file as it is not required
anymore.
Signed-off-by: Charulatha V <charu@ti.com>
Acked-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/gpio.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/gpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h index 5bef86d76a6a..24892a6707c4 100644 --- a/arch/arm/plat-omap/include/plat/gpio.h +++ b/arch/arm/plat-omap/include/plat/gpio.h @@ -79,6 +79,11 @@ #define METHOD_GPIO_24XX 5 #define METHOD_GPIO_44XX 6 +struct omap_gpio_dev_attr { + int bank_width; /* GPIO bank width */ + bool dbck_flag; /* dbck required or not - True for OMAP3&4 */ +}; + struct omap_gpio_platform_data { u16 virtual_irq_start; int bank_type; |