[PATCH 1/6] dt-bindings: phy: allwinner,sun50i-a64-usb-phy: Add Allwinner A733

From
Alastair D'Silva <hidden>
Date
2026-11-27 10:08:22
Also in
linux-clk, linux-devicetree, linux-phy, linux-sunxi, linux-usb, lkml
Reply to
Alastair D'Silva, 2026-11-27
Add the Allwinner A733 (sun60i-a733) USB 2.0 PHY compatible string.

The A733 USB PHY requires the OTG/PHY register bus clock (bus) in addition
to the two PHY reference clocks.

Signed-off-by: Alastair D'Silva <redacted>
---
 .../phy/allwinner,sun50i-a64-usb-phy.yaml     | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun50i-a64-usb-phy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun50i-a64-usb-phy.yaml
index 580c3296a18d..4892c1766182 100644
--- a/Documentation/devicetree/bindings/phy/allwinner,sun50i-a64-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/allwinner,sun50i-a64-usb-phy.yaml
@@ -19,6 +19,7 @@ properties:
       - enum:
           - allwinner,sun20i-d1-usb-phy
           - allwinner,sun50i-a64-usb-phy
+          - allwinner,sun60i-a733-usb-phy
       - items:
           - enum:
               - allwinner,sun50i-a100-usb-phy
@@ -38,14 +39,18 @@ properties:
       - const: pmu1
 
   clocks:
+    minItems: 2
     items:
       - description: USB OTG PHY bus clock
       - description: USB Host 0 PHY bus clock
+      - description: USB OTG/PHY register bus clock
 
   clock-names:
+    minItems: 2
     items:
       - const: usb0_phy
       - const: usb1_phy
+      - const: bus
 
   resets:
     items:
@@ -84,6 +89,25 @@ required:
   - resets
   - reset-names
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun60i-a733-usb-phy
+    then:
+      properties:
+        clocks:
+          minItems: 3
+        clock-names:
+          minItems: 3
+    else:
+      properties:
+        clocks:
+          maxItems: 2
+        clock-names:
+          maxItems: 2
+
 additionalProperties: false
 
 examples:
-- 
2.53.0

Thread (8 messages) 8 messages, 2 authors, last reply 4d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help