summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2010-08-11 10:55:48 +0800
committerJason Chen <b02280@freescale.com>2010-08-11 11:00:17 +0800
commit5c6bd7e8e887b1e13d70f8d810c8e1afa2564bd1 (patch)
treefd5965bf072fb3fb9b209616064eb585992b7c21 /arch
parent21d753f3ba1519e098070741e7d8bc4ab5d620c5 (diff)
ENGR00125957-1 mx53-MSL: add sii9022 hdmi support
Add MSL support for sii9022. Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/mx53_evk.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx53_evk.c b/arch/arm/mach-mx5/mx53_evk.c
index 7d89b4ec337d..b5e7cc59de64 100644
--- a/arch/arm/mach-mx5/mx53_evk.c
+++ b/arch/arm/mach-mx5/mx53_evk.c
@@ -898,6 +898,18 @@ static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
},
};
+static void sii9022_hdmi_reset(void)
+{
+ gpio_set_value(MX53_DVI_RESET, 0);
+ msleep(10);
+ gpio_set_value(MX53_DVI_RESET, 1);
+ msleep(10);
+}
+
+static struct mxc_lcd_platform_data sii9022_hdmi_data = {
+ .reset = sii9022_hdmi_reset,
+};
+
/* TO DO add platform data */
static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
{
@@ -921,6 +933,11 @@ static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
.type = "eeprom",
.addr = 0x50,
},
+ {
+ .type = "sii9022",
+ .addr = 0x39,
+ .platform_data = &sii9022_hdmi_data,
+ },
};
static struct mtd_partition mxc_dataflash_partitions[] = {