[PATCH 01/11] dt-bindings: phy: allwinner,sun60i-a733-u2phy: Add Allwinner A733 USB 2.0 PHY

From
Alastair D'Silva <hidden>
Date
2026-11-27 07:32:49
Also in
linux-clk, linux-devicetree, linux-phy, linux-sunxi, linux-usb, lkml
Reply to
Alastair D'Silva, 2026-11-27
Add DT binding schema for the Allwinner A733 USB 2.0 PHY.

Signed-off-by: Alastair D'Silva <redacted>
---
 .../phy/allwinner,sun60i-a733-u2phy.yaml      | 58 +++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-u2phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-u2phy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-u2phy.yaml
new file mode 100644
index 000000000000..7291311d3c4d
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-u2phy.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/allwinner,sun60i-a733-u2phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner A733 USB 2.0 PHY
+
+maintainers:
+  - Alastair D'Silva <alastair@d-silva.org>
+
+properties:
+  compatible:
+    const: allwinner,sun60i-a733-u2phy
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    items:
+      - description: OTG bus clock
+      - description: USB subsystem AHB clock
+
+  clock-names:
+    items:
+      - const: bus
+      - const: ahb
+
+  resets:
+    maxItems: 1
+
+  "#phy-cells":
+    const: 0
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - clock-names
+  - resets
+  - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/clock/allwinner,sun60i-a733-ccu.h>
+    #include <dt-bindings/reset/allwinner,sun60i-a733-ccu.h>
+
+    phy@6b00000 {
+        compatible = "allwinner,sun60i-a733-u2phy";
+        reg = <0x06b00000 0x800>;
+        clocks = <&ccu CLK_BUS_OTG>,
+                 <&ccu CLK_AHB_USB_SYS>;
+        clock-names = "bus", "ahb";
+        resets = <&ccu RST_BUS_OTG>;
+        #phy-cells = <0>;
+    };
-- 
2.53.0

Thread (15 messages) 15 messages, 3 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