From: Luca Weiss Date: Thu, 11 Apr 2024 07:06:11 +0000 (+0200) Subject: arm64: dts: qcom: qcm6490-fairphone-fp5: Add USB-C orientation GPIO X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e788ef2bdac7fdbd61b626f65fdf7528a1c6fd3b;p=linux.git arm64: dts: qcom: qcm6490-fairphone-fp5: Add USB-C orientation GPIO Define the USB-C orientation GPIOs so that the USB-C ports orientation is known without having to resort to the altmode notifications. On PCB level this is the signal from PM7250B (pin CC_OUT) which is called USB_PHY_PS. Signed-off-by: Luca Weiss Link: https://lore.kernel.org/r/20240411-fp5-usb-c-gpio-v1-1-78f11deb940a@fairphone.com Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index 4ff9fc24e50e1..f3432701945f7 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -77,6 +77,8 @@ #address-cells = <1>; #size-cells = <0>; + orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>; + connector@0 { compatible = "usb-c-connector"; reg = <0>;