Skip to content

Commit a4a3d41

Browse files
lumaggregkh
authored andcommitted
arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio
commit b7b545c upstream. On the Qualcomm RB1 platform the I2C bus connected to the LT9611UXC bridge under some circumstances can go into a state when all transfers timeout. This causes both issues with fetching of EDID and with updating of the bridge's firmware. While we are debugging the issue, switch corresponding I2C bus to use i2c-gpio driver. While using i2c-gpio no communication issues are observed. This patch is asusmed to be a temporary fix, so it is implemented in a non-intrusive manner to simply reverting it later. Fixes: 616eda2 ("arm64: dts: qcom: qrb2210-rb1: Set up HDMI") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org> Link: https://lore.kernel.org/r/20240605-rb12-i2c2g-pio-v2-1-946f5d6b6948@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 213aa2a commit a4a3d41

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

arch/arm64/boot/dts/qcom/qrb2210-rb1.dts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@
5959
};
6060
};
6161

62+
i2c2_gpio: i2c {
63+
compatible = "i2c-gpio";
64+
65+
sda-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
66+
scl-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
67+
#address-cells = <1>;
68+
#size-cells = <0>;
69+
70+
status = "disabled";
71+
};
72+
6273
leds {
6374
compatible = "gpio-leds";
6475

@@ -199,7 +210,7 @@
199210
status = "okay";
200211
};
201212

202-
&i2c2 {
213+
&i2c2_gpio {
203214
clock-frequency = <400000>;
204215
status = "okay";
205216

0 commit comments

Comments
 (0)