aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2011-12-19 18:08:56 -0500
committerTony Lindgren <tony@atomide.com>2011-12-22 12:00:46 -0500
commita218d19f6a91c076c7ed8a7c0082f777248c5394 (patch)
tree5506a689551166dd05412612fc660ce6b7b56849 /arch/arm
parent68f0676699fb0e0b18feb8459c35ecdfe3127b3d (diff)
omapfb: lcd_ams_delta: drive control lines over GPIO
Don't use Amstrad Delta custom I/O functions any longer, use GPIO API instead. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap1/board-ams-delta.c10
-rw-r--r--arch/arm/plat-omap/include/plat/board-ams-delta.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
index cc6f96249e77..3aba8f99cc7e 100644
--- a/arch/arm/mach-omap1/board-ams-delta.c
+++ b/arch/arm/mach-omap1/board-ams-delta.c
@@ -227,16 +227,6 @@ static struct gpio latch_gpios[] __initconst = {
227 .label = "dockit2", 227 .label = "dockit2",
228 }, 228 },
229 { 229 {
230 .gpio = AMS_DELTA_GPIO_PIN_LCD_VBLEN,
231 .flags = GPIOF_OUT_INIT_LOW,
232 .label = "lcd_vblen",
233 },
234 {
235 .gpio = AMS_DELTA_GPIO_PIN_LCD_NDISP,
236 .flags = GPIOF_OUT_INIT_LOW,
237 .label = "lcd_ndisp",
238 },
239 {
240 .gpio = AMS_DELTA_GPIO_PIN_KEYBRD_PWR, 230 .gpio = AMS_DELTA_GPIO_PIN_KEYBRD_PWR,
241 .flags = GPIOF_OUT_INIT_LOW, 231 .flags = GPIOF_OUT_INIT_LOW,
242 .label = "keybrd_pwr", 232 .label = "keybrd_pwr",
diff --git a/arch/arm/plat-omap/include/plat/board-ams-delta.h b/arch/arm/plat-omap/include/plat/board-ams-delta.h
index 3e578339fe8c..e9ad673be32f 100644
--- a/arch/arm/plat-omap/include/plat/board-ams-delta.h
+++ b/arch/arm/plat-omap/include/plat/board-ams-delta.h
@@ -28,8 +28,6 @@
28 28
29#if defined (CONFIG_MACH_AMS_DELTA) 29#if defined (CONFIG_MACH_AMS_DELTA)
30 30
31#define AMS_DELTA_LATCH2_LCD_VBLEN 0x0001
32#define AMS_DELTA_LATCH2_LCD_NDISP 0x0002
33#define AMD_DELTA_LATCH2_KEYBRD_PWR 0x0100 31#define AMD_DELTA_LATCH2_KEYBRD_PWR 0x0100
34#define AMD_DELTA_LATCH2_KEYBRD_DATA 0x0200 32#define AMD_DELTA_LATCH2_KEYBRD_DATA 0x0200
35#define AMD_DELTA_LATCH2_SCARD_RSTIN 0x0400 33#define AMD_DELTA_LATCH2_SCARD_RSTIN 0x0400