Skip to content

Commit 92ff9f4

Browse files
lumaggregkh
authored andcommitted
arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio
commit f77e7bd upstream. On the Qualcomm RB2 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: f7b01e0 ("arm64: dts: qcom: qrb4210-rb2: Enable display out") 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-2-946f5d6b6948@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a4a3d41 commit 92ff9f4

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

arch/arm64/boot/dts/qcom/qrb4210-rb2.dts

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

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

@@ -190,7 +201,7 @@
190201
};
191202
};
192203

193-
&i2c2 {
204+
&i2c2_gpio {
194205
clock-frequency = <400000>;
195206
status = "okay";
196207

0 commit comments

Comments
 (0)