[PATCH v2 02/14] dt-bindings: phy: allwinner,sun60i-a733-combophy: Add combophy0 USB 3.0 support
From: Alastair D'Silva
Date: Mon Nov 30 2026 - 00:34:58 EST
Add the combophy0 compatible string and clarify #phy-cells usage.
Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
---
.../phy/allwinner,sun60i-a733-combophy.yaml | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
index 5182884109f9..9c8eb5fbc29d 100644
--- a/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
+++ b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
@@ -12,6 +12,7 @@ maintainers:
properties:
compatible:
enum:
+ - allwinner,sun60i-a733-combophy0
- allwinner,sun60i-a733-combophy1
reg:
@@ -39,6 +40,9 @@ properties:
"#phy-cells":
const: 1
+ description: |
+ PHY type from <dt-bindings/phy/phy.h> (e.g. PHY_TYPE_USB3 for
+ combophy0, PHY_TYPE_PCIE for combophy1).
allwinner,serdes-syscon:
$ref: /schemas/types.yaml#/definitions/phandle
@@ -47,6 +51,27 @@ properties:
phy-supply:
description: 1.8V analog power supply for the SerDes PHY.
+ orientation-switch:
+ description:
+ Indicates the PHY handles USB Type-C lane orientation switching.
+ type: boolean
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ OF graph port connecting to a USB Type-C connector for orientation
+ switching.
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ const: allwinner,sun60i-a733-combophy1
+ then:
+ properties:
+ orientation-switch: false
+ port: false
+
required:
- compatible
- reg
@@ -79,4 +104,5 @@ examples:
power-domains = <&pck600 PD_PCIE>;
#phy-cells = <1>;
allwinner,serdes-syscon = <&serdes_syscon>;
+ phy-supply = <®_serdes1v8>;
};
--
2.53.0