aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/display.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 28f508724a56..282c814ea2e2 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -100,17 +100,20 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initconst = {
100 { "dss_hdmi", "omapdss_hdmi", -1 }, 100 { "dss_hdmi", "omapdss_hdmi", -1 },
101}; 101};
102 102
103static void __init omap4_hdmi_mux_pads(enum omap_hdmi_flags flags) 103static void __init omap4_tpd12s015_mux_pads(void)
104{ 104{
105 u32 reg;
106 u16 control_i2c_1;
107
108 omap_mux_init_signal("hdmi_cec", 105 omap_mux_init_signal("hdmi_cec",
109 OMAP_PIN_INPUT_PULLUP); 106 OMAP_PIN_INPUT_PULLUP);
110 omap_mux_init_signal("hdmi_ddc_scl", 107 omap_mux_init_signal("hdmi_ddc_scl",
111 OMAP_PIN_INPUT_PULLUP); 108 OMAP_PIN_INPUT_PULLUP);
112 omap_mux_init_signal("hdmi_ddc_sda", 109 omap_mux_init_signal("hdmi_ddc_sda",
113 OMAP_PIN_INPUT_PULLUP); 110 OMAP_PIN_INPUT_PULLUP);
111}
112
113static void __init omap4_hdmi_mux_pads(enum omap_hdmi_flags flags)
114{
115 u32 reg;
116 u16 control_i2c_1;
114 117
115 /* 118 /*
116 * CONTROL_I2C_1: HDMI_DDC_SDA_PULLUPRESX (bit 28) and 119 * CONTROL_I2C_1: HDMI_DDC_SDA_PULLUPRESX (bit 28) and
@@ -161,8 +164,10 @@ static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes)
161 164
162int __init omap_hdmi_init(enum omap_hdmi_flags flags) 165int __init omap_hdmi_init(enum omap_hdmi_flags flags)
163{ 166{
164 if (cpu_is_omap44xx()) 167 if (cpu_is_omap44xx()) {
165 omap4_hdmi_mux_pads(flags); 168 omap4_hdmi_mux_pads(flags);
169 omap4_tpd12s015_mux_pads();
170 }
166 171
167 return 0; 172 return 0;
168} 173}