arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching
authorLuca Weiss <luca.weiss@fairphone.com>
Thu, 30 May 2024 15:05:49 +0000 (17:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 1 Jun 2024 22:58:30 +0000 (17:58 -0500)
commit6814d454c26b552f0009c803ffc0ce3434eaed7e
tree8cce6c265433fe6ace03828cf6a71b8727cda303
parent6b5b15a1d785d5fb484d3a662b01776066d33137
arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching

Configure the Type-C and VBUS regulator on PM7250B and wire it up to the
USB PHY, so that USB role and orientation switching works.

For now USB Power Delivery properties are skipped / disabled, so that
the (presumably) bootloader-configured charger doesn't get messed with
and we can charge the phone with at least some amount of power.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240530-fp4-tcpm-v3-3-612d4bbd5e09@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
arch/arm64/boot/dts/qcom/sm6350.dtsi
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts