summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/common.h
diff options
context:
space:
mode:
authorCyril Chemparathy2010-05-02 00:37:54 +0200
committerKevin Hilman2010-05-07 00:02:08 +0200
commit686b634a07451fc4fe3b712fe211bfa861a53241 (patch)
tree109557ee13bc43e3e574fd54fe2354a2da7d6dc9 /arch/arm/mach-davinci/include/mach/common.h
parentDavinci: gpio - register layout invariant inlines (diff)
downloadkernel-qcow2-linux-686b634a07451fc4fe3b712fe211bfa861a53241.tar.gz
kernel-qcow2-linux-686b634a07451fc4fe3b712fe211bfa861a53241.tar.xz
kernel-qcow2-linux-686b634a07451fc4fe3b712fe211bfa861a53241.zip
Davinci: gpio - controller type support
This patch allows for gpio controllers that deviate from those found on traditional davinci socs. davinci_soc_info has an added field to indicate the soc-specific gpio controller type. The gpio initialization code then bails out if necessary. More elements (tnetv107x) to be added later into enum davinci_gpio_type. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Tested-by: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/common.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 1d72883f593e..8ffef5bbd9cf 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -59,6 +59,7 @@ struct davinci_soc_info {
u8 *intc_irq_prios;
unsigned long intc_irq_num;
struct davinci_timer_info *timer_info;
+ int gpio_type;
void __iomem *gpio_base;
unsigned gpio_num;
unsigned gpio_irq;