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