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)
committerShawn Guo <shawnguo@kernel.org>
Sun, 21 Aug 2022 12:26:38 +0000 (20:26 +0800)
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>
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi

index 7001c8c5e19b93945eaa7f0fdb2385fac9dc6852..df39a4635541ff739d67772ac6559e1e44caacd5 100644 (file)
        };
 };
 
+&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>;
 };