[msm7x30]: Enable LCDC display for msm7x30 devices
-- Add code to configure Toshiba LCDC panels
-- Add support for MDP4 LCDC mode.
Change-Id: I3846a146b98d19038779d8088cf64becff087a89
diff --git a/dev/fbcon/fbcon.c b/dev/fbcon/fbcon.c
index ce627a3..66d4243 100755
--- a/dev/fbcon/fbcon.c
+++ b/dev/fbcon/fbcon.c
@@ -190,6 +190,9 @@
cur_pos.y = 0;
max_pos.x = config->width / (FONT_WIDTH+1);
max_pos.y = (config->height - 1) / FONT_HEIGHT;
+#if !DISPLAY_SPLASH_SCREEN
+ fbcon_clear();
+#endif
}
struct fbcon_config* fbcon_display(void)
diff --git a/dev/keys/gpio_keypad.c b/dev/keys/gpio_keypad.c
index abd894a..4fc2e4e 100644
--- a/dev/keys/gpio_keypad.c
+++ b/dev/keys/gpio_keypad.c
@@ -542,3 +542,13 @@
event_wait(&qwerty_keypad->full_scan);
}
+void pmic_write(unsigned address, unsigned data)
+{
+ write_func wr_function = &i2c_ssbi_write_bytes;
+ if(wr_function == NULL)
+ return;
+ if ((*wr_function)(&data, 1, address))
+ dprintf (CRITICAL, "Error in initializing register\n");
+
+}
+