Commit 0e13579c authored by Kevin Hilman's avatar Kevin Hilman Committed by Tony Lindgren

ARM: OMAP: 2430SDP: minor fixups for fb driver

Remove redundant #defines
Fix LCD pixelclock to 5.4 MHz
Signed-off-by: default avatarHunyue Yau <hyau@mvista.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5f92d898
......@@ -31,14 +31,10 @@
#define LCD_PANEL_BACKLIGHT_GPIO 91
#define LCD_PANEL_ENABLE_GPIO 154
#define H4_LCD_PIXCLOCK_MAX 185186 /* freq 5.4 MHz */
#define LCD_PIXCLOCK_MAX 5400 /* freq 5.4 MHz */
#define PM_RECEIVER TWL4030_MODULE_PM_RECIEVER
#define ENABLE_VAUX2_DEDICATED 0x09
#define ENABLE_VAUX2_DEV_GRP 0x20
#define TWL4030_VAUX2_DEV_GRP 0x1B
#define TWL4030_VAUX2_DEDICATED 0x1E
#define TWL4030_MODULE_PM_RECIEVER 0x13
#define t2_out(c, r, v) twl4030_i2c_write_u8(c, r, v)
......@@ -99,7 +95,7 @@ struct lcd_panel sdp2430_panel = {
.vfp = 2, /* lower_margin */
.vbp = 7, /* upper_margin (8) - 1 */
.pixel_clock = H4_LCD_PIXCLOCK_MAX,
.pixel_clock = LCD_PIXCLOCK_MAX,
.init = sdp2430_panel_init,
.cleanup = sdp2430_panel_cleanup,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment