ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
authorLucas Stach <l.stach@pengutronix.de>
Tue, 26 Jul 2022 13:05:23 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:34:59 +0000 (12:34 +0200)
[ Upstream commit afd8f77957e3e83adf21d9229c61ff37f44a177a ]

i2c2 is routed to the pins dedicated as DDC in the module standard.
Reduce clock rate to 100kHz to be in line with VESA standard and hook
this bus up to the HDMI node.

Fixes: 708ed2649ad8 ("ARM: dts: imx6qdl-kontron-samx6i: increase i2c-frequency")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[m.felsch@pengutronix.de: add fixes line]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi

index 6b791d5..683f6e5 100644 (file)
        phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
 };
 
+&hdmi {
+       ddc-i2c-bus = <&i2c2>;
+};
+
 &i2c_intern {
        pmic@8 {
                compatible = "fsl,pfuze100";
 
 /* HDMI_CTRL */
 &i2c2 {
-       clock-frequency = <375000>;
+       clock-frequency = <100000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c2>;
 };