linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L
@ 2021-11-04 11:15 Yassine Oudjana
  2021-11-20 23:55 ` (subset) " Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Yassine Oudjana @ 2021-11-04 11:15 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring
  Cc: Yassine Oudjana, linux-arm-msm, devicetree, phone-devel,
	linux-kernel, ~postmarketos/upstreaming

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.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ce0320bd3872038569be360870e2d5251b975692
---
 arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
index 01e573f0dfbf..7a9fcbe9bb31 100644
--- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
@@ -207,8 +207,8 @@ &blsp2_i2c3 {
 	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>;
-- 
2.33.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: (subset) [PATCH] arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L
  2021-11-04 11:15 [PATCH] arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L Yassine Oudjana
@ 2021-11-20 23:55 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2021-11-20 23:55 UTC (permalink / raw)
  To: Rob Herring, Yassine Oudjana, Andy Gross
  Cc: linux-arm-msm, ~postmarketos/upstreaming, linux-kernel,
	devicetree, phone-devel

On Thu, 04 Nov 2021 11:15:18 +0000, Yassine Oudjana wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L
      commit: de0a2ae359ef9ccbaab86cce44d442cd0ca36985

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-20 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04 11:15 [PATCH] arm64: dts: qcom: msm8996-xiaomi-common: Change TUSB320 to TUSB320L Yassine Oudjana
2021-11-20 23:55 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).