arm64: dts: qcom: sm8250: Define ports for qmpphy orientation-switching
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 16 Aug 2023 11:51:46 +0000 (12:51 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 01:19:15 +0000 (18:19 -0700)
ports for orientation switching input and output. The individual board dts
files will instantiate port@0, port@1 and/or port@2 depending on the supported
feature-set.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230816115151.501736-3-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 734dee5e5fa1aa6b562c2e5c835179828c684910..42f37b9421d7262cb3eb58a4511b0bcb7b3dd366 100644 (file)
 
                        #clock-cells = <1>;
                        #phy-cells = <1>;
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                               };
+
+                               port@2 {
+                                       reg = <2>;
+                               };
+                       };
                };
 
                usb_2_qmpphy: phy@88eb000 {