aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion/common.h
diff options
context:
space:
mode:
authorTzachi Perelstein <tzachi@marvell.com>2007-10-23 15:14:42 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 15:03:45 +0000
commit01af72e4e36fba66cd7cfc2a628efee866c346d1 (patch)
tree5e2c795f7cfa2ebb876d5244d7126cf8d4fb5896 /arch/arm/mach-orion/common.h
parentc67de5b3c0bb48ac56f14928e11f1f7d76add26f (diff)
[ARM] Orion: GPIO support
Signed-off-by: Tzachi Perelstein <tzachi@marvell.com> Signed-off-by: Nicolas Pitre <nico@marvell.com> Acked-by: David Brownell <david-b@pacbell.net>
Diffstat (limited to 'arch/arm/mach-orion/common.h')
-rw-r--r--arch/arm/mach-orion/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-orion/common.h b/arch/arm/mach-orion/common.h
index 056043464ca..a6a7af189b0 100644
--- a/arch/arm/mach-orion/common.h
+++ b/arch/arm/mach-orion/common.h
@@ -53,4 +53,12 @@ struct pci_bus *orion_pci_sys_scan_bus(int nr, struct pci_sys_data *sys);
int orion_pci_hw_rd_conf(u32 bus, u32 dev, u32 func, u32 where, u32 size, u32 *val);
int orion_pci_hw_wr_conf(u32 bus, u32 dev, u32 func, u32 where, u32 size, u32 val);
+/*
+ * Valid GPIO pins according to MPP setup, used by machine-setup.
+ * (/mach-orion/gpio.c).
+ */
+
+void __init orion_gpio_set_valid_pins(u32 pins);
+void gpio_display(void); /* debug */
+
#endif /* __ARCH_ORION_COMMON_H__ */