arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L
authorYassine Oudjana <y.oudjana@protonmail.com>
Thu, 4 Nov 2021 11:15:18 +0000 (11:15 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 20 Nov 2021 22:24:57 +0000 (16:24 -0600)
This platform actually doesn't have TUSB320, but rather TUSB320L.
The TUSB320 compatible string was used due to lack of support for
TUSB320L, and it was close enough to detect cable plug-in and
direction, but it was limited to upstream facing port mode only.
Now that support for TUSB320L is added[1], change node name and
compatible to match and allow it to be properly reset and have
its mode set to dual-role port.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ce0320bd3872038569be360870e2d5251b975692

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211104111454.105875-1-y.oudjana@protonmail.com
arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi

index 01e573f..7a9fcbe 100644 (file)
        status = "okay";
        label = "TYPEC_I2C";
 
-       typec: tusb320@47 {
-               compatible = "ti,tusb320";
+       typec: tusb320l@47 {
+               compatible = "ti,tusb320l";
                reg = <0x47>;
                interrupt-parent = <&tlmm>;
                interrupts = <63 IRQ_TYPE_EDGE_RISING>;