aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/include
diff options
context:
space:
mode:
authorDmitry Artamonow <mad_soft@inbox.ru>2009-11-27 06:10:55 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-06 11:52:56 -0500
commit86e5e38c46b1d188c897f131d3f015ca73677f03 (patch)
tree8d2c1a00e5638395baa3cce8ac94afe73b128cad /arch/arm/mach-sa1100/include
parent8715b29db2787f7c70f662b7b4d5b01017c61948 (diff)
ARM: 5820/1: SA1100: h3100/h3600: split h3600.c
Split common h3600.c into three separate files: h3100.c, h3600.c and h3xxx.c (the latter contains common code for h3100/h3600) Copyright boilerplates and #includes are copied intact and will be cleaned up later. Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/include')
-rw-r--r--arch/arm/mach-sa1100/include/mach/h3xxx.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/h3xxx.h b/arch/arm/mach-sa1100/include/mach/h3xxx.h
index 7f1e130be949..d8a6e7cee676 100644
--- a/arch/arm/mach-sa1100/include/mach/h3xxx.h
+++ b/arch/arm/mach-sa1100/include/mach/h3xxx.h
@@ -87,4 +87,18 @@
87#define H3600_EGPIO_LCD_5V_ON (H3XXX_EGPIO_BASE + 14) /* enable 5V to LCD. active high. */ 87#define H3600_EGPIO_LCD_5V_ON (H3XXX_EGPIO_BASE + 14) /* enable 5V to LCD. active high. */
88#define H3600_EGPIO_LVDD_ON (H3XXX_EGPIO_BASE + 15) /* enable 9V and -6.5V to LCD. */ 88#define H3600_EGPIO_LVDD_ON (H3XXX_EGPIO_BASE + 15) /* enable 9V and -6.5V to LCD. */
89 89
90struct gpio_default_state {
91 int gpio;
92 int mode;
93 const char *name;
94};
95
96#define GPIO_MODE_IN -1
97#define GPIO_MODE_OUT0 0
98#define GPIO_MODE_OUT1 1
99
100void h3xxx_init_gpio(struct gpio_default_state *s, size_t n);
101void __init h3xxx_map_io(void);
102void __init h3xxx_mach_init(void);
103
90#endif /* _INCLUDE_H3XXX_H_ */ 104#endif /* _INCLUDE_H3XXX_H_ */