From: Tomi Valkeinen Date: Tue, 6 Sep 2011 08:31:02 +0000 (+0300) Subject: OMAP4: 4430SDP: Add panel support to board file X-Git-Tag: v3.3-rc3~7^2~76^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12595d46bf0d361b7f96fb24c9dc7fe5ce82b3f7;p=profile%2Fivi%2Fkernel-x86-ivi.git OMAP4: 4430SDP: Add panel support to board file 4430SDP has two Taal DSI panels, connected to DSI 1 and DSI 2 modules. The panels use a common PWM backlight, which will be implemented later when the PWM driver has been improved to support the backlight. Until the PWM driver has been improved, the following hack added to arch/arm/mach-omap2/board-4430sdp.c can be used to set the backlight to max: static int omap_4430sdp_hack_backlight(void) { twl_i2c_write_u8(TWL_MODULE_PWM, 0x7f, LED_PWM2OFF); twl_i2c_write_u8(TWL_MODULE_PWM, 0x7f, LED_PWM2ON); twl_i2c_write_u8(TWL6030_MODULE_ID1, 0x30, TWL6030_TOGGLE3); return 0; } late_initcall(omap_4430sdp_hack_backlight); Signed-off-by: Archit Taneja Acked-by: Tony Lindgren Signed-off-by: Tomi Valkeinen --- diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 62ec9f5..187fcae 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -38,6 +38,7 @@ #include #include #include