Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Disable HDMI CEC internal pull-ups

Devices using an external encoder, ESD protection and level shifter
such as tpd12s015 or ip4791cz12 have the CEC pull in the encoder
chip. And on var-som-om44, there is external pull up resistor R30.

So the internal CEC pull-up resistor needs to be disabled as otherwise
the external and internal pull are parallel making the pull value
much smaller than intended. This leads into the CEC not working as
reported by Hans Verkuil <hverkuil@xs4all.nl>.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

+8 -8
+1 -1
arch/arm/boot/dts/omap4-droid4-xt894.dts
··· 373 373 /* hdmi_cec.hdmi_cec, hdmi_scl.hdmi_scl, hdmi_sda.hdmi_sda */ 374 374 dss_hdmi_pins: pinmux_dss_hdmi_pins { 375 375 pinctrl-single,pins = < 376 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) 376 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) 377 377 OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) 378 378 OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) 379 379 >;
+1 -1
arch/arm/boot/dts/omap4-duovero-parlor.dts
··· 100 100 dss_hdmi_pins: pinmux_dss_hdmi_pins { 101 101 pinctrl-single,pins = < 102 102 OMAP4_IOPAD(0x098, PIN_INPUT | MUX_MODE3) /* hdmi_hpd.gpio_63 */ 103 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 103 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 104 104 OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */ 105 105 OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */ 106 106 >;
+1 -1
arch/arm/boot/dts/omap4-panda-common.dtsi
··· 267 267 268 268 dss_hdmi_pins: pinmux_dss_hdmi_pins { 269 269 pinctrl-single,pins = < 270 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 270 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 271 271 OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 272 272 OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 273 273 >;
+1 -1
arch/arm/boot/dts/omap4-sdp-es23plus.dts
··· 10 10 /* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */ 11 11 &dss_hdmi_pins { 12 12 pinctrl-single,pins = < 13 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 13 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 14 14 OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 15 15 OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 16 16 >;
+1 -1
arch/arm/boot/dts/omap4-sdp.dts
··· 290 290 291 291 dss_hdmi_pins: pinmux_dss_hdmi_pins { 292 292 pinctrl-single,pins = < 293 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 293 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 294 294 OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 295 295 OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 296 296 >;
+1 -1
arch/arm/boot/dts/omap4-var-om44customboard.dtsi
··· 122 122 123 123 dss_hdmi_pins: pinmux_dss_hdmi_pins { 124 124 pinctrl-single,pins = < 125 - OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 125 + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 126 126 OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 127 127 OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 128 128 >;
+1 -1
arch/arm/boot/dts/omap5-board-common.dtsi
··· 290 290 291 291 dss_hdmi_pins: pinmux_dss_hdmi_pins { 292 292 pinctrl-single,pins = < 293 - OMAP5_IOPAD(0x13c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 293 + OMAP5_IOPAD(0x13c, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 294 294 OMAP5_IOPAD(0x140, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */ 295 295 OMAP5_IOPAD(0x142, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */ 296 296 >;
+1 -1
arch/arm/boot/dts/omap5-cm-t54.dts
··· 266 266 267 267 dss_hdmi_pins: pinmux_dss_hdmi_pins { 268 268 pinctrl-single,pins = < 269 - OMAP5_IOPAD(0x013c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec */ 269 + OMAP5_IOPAD(0x013c, PIN_INPUT | MUX_MODE0) /* hdmi_cec */ 270 270 OMAP5_IOPAD(0x0140, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl */ 271 271 OMAP5_IOPAD(0x0142, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda */ 272 272 >;