const unsigned short GAMMA_SETTING[] = {
0x3f, 0x0000, /* gamma setting : ams701ka */
-#if 0 /* 0.0 */
+#if 0 /* 0.0 */
/* Low Red Gamma */
0x4c, 0xc209,
0x4d, 0xdac8,
0x56, 0xbcc4,
0x57, 0x00b7,
#endif
-#if 1/* 1.0 */
+#if 1 /* 1.0 */
/* High Red Gamma */
0x40, 0x0720,
0x41, 0xCBA7,
}
}
-void lcd_panel_power_on(void)
+void ams701ka_lcd_panel_power_on(void)
{
/* set gpio data for MLCD_RST to HIGH */
gpio_set_value(&gpio->gpio_mp0_5, 5, 1);
udelay(10000);
}
-void lcd_panel_enable(void)
+void ams701ka_lcd_panel_enable(void)
{
ams701ka_panel_send_sequence(SEQ_DISPLAY_ON);
}
}
-void lcd_panel_init(void)
+void ams701ka_lcd_panel_init(void)
{
/* set gpio pin for DISPLAY_CS to HIGH */
gpio_set_value(&gpio->gpio_mp0_1, 1, 1);
vid->vl_bfw = 6,
vid->vl_efw = 8,
- calls->lcd_panel_init = /* */;
- calls->lcd_panel_power_on = /* */;
- calls->lcd_panel_enable = /* */;
+ calls->lcd_panel_init = ams701ka_lcd_panel_init;
+ calls->lcd_panel_power_on = ams701ka_lcd_panel_power_on;
+ calls->lcd_panel_enable = ams701ka_lcd_panel_enable;
#endif
panel_width = vid->vl_col;
#ifndef _S5PCFB_H_
#define _S5PCFB_H_
-#define ON 1
+#define ON 1
#define OFF 0
#define DEBUG
extern void s6e63m0_lcd_panel_power_on(void);
extern void s6e63m0_lcd_panel_enable(void);
+extern void ams701ka_lcd_panel_init(void);
+extern void ams701ka_lcd_panel_power_on(void);
+extern void ams701ka_lcd_panel_enable(void);
+
#endif