arm64: dts: qcom: sm8550-mtp: add orientation gpio
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 2 Oct 2023 10:20:23 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 07:36:28 +0000 (09:36 +0200)
Specify orientation GPIO in the PMIC GLINK node.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231002-topic-sm8550-upstream-type-c-orientation-v2-3-125410d3ff95@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/sm8550-mtp.dts

index f29cce5186acd5433581b969b107e4ad47f81458..8d4601b747b174dde8a76fec74067980a802d343 100644 (file)
@@ -58,6 +58,7 @@
                compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink";
                #address-cells = <1>;
                #size-cells = <0>;
+               orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
 
                connector@0 {
                        compatible = "usb-c-connector";