diff mbox series

[1/8] dt-bindings: phy: qcom,qmp-usb3-dp: Add altmode/switch properties

Message ID 20211228052116.1748443-2-bjorn.andersson@linaro.org
State New
Headers show
Series typec: mux: Introduce support for multiple TypeC muxes | expand

Commit Message

Bjorn Andersson Dec. 28, 2021, 5:21 a.m. UTC
The QMP block deals with orientation switching and altmode switching
between USB and DisplayPort. Add the necessary properties to the binding
to allow it to be connected to a TypeC controller and trigger these

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
 .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series


diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
index 60dc27834e1d..f8a745ec479c 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
@@ -77,6 +77,20 @@  properties:
       Phandle to a regulator supply to any specific refclk pll block.
+  port:
+    $ref: /schemas/graph.yaml#/properties/port
+    description:
+      A port node to link the QMP to a TypeC controller for the purpose of
+      handling altmode muxing and orientation switching.
+  mode-switch:
+    description: Flag the port as possible handle of altmode switching
+    type: boolean
+  orientation-switch:
+    description: Flag the port as possible handler of orientation switching
+    type: boolean
 #Required nodes: