Skip to contentSkip to conversation

sh: mach-ecovec24: support for main lcd backlight

PATCH Superseded Alexandre Courbot 1 participant 1 message Feb 10, 2011 SuperH

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 sh: mach-ecovec24: support for main lcd backlight

---
 arch/sh/boards/mach-ecovec24/setup.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/sh/boards/mach-ecovec24/setup.c +6 -0
index 701667a..6d316f6 100644
@@ -261,6 +261,11 @@ const static struct fb_videomode ecovec_dvi_modes[] = {
 	},
 };
 
+static struct sh_mobile_lcdc_bl_info lcdc_bl_info = {
+	.name = "sh_mobile_mainlcd_bl",
+	.gpio = GPIO_PTR1,
+};
+
 static struct sh_mobile_lcdc_info lcdc_info = {
 	.ch[0] = {
 		.interface_type = RGB18,
@@ -272,6 +277,7 @@ static struct sh_mobile_lcdc_info lcdc_info = {
 		},
 		.board_cfg = {
 		},
+		.bl_info = &lcdc_bl_info,
 	}
 };
 
Signature · 1 line
1.7.4