Skip to contentSkip to conversation

dt-bindings: phy: rockchip: add RK3506 USB2 PHY

PATCH In review ZhuXiangyu 2 participants 2 messages Nov 21 – Nov 24 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

ZhuXiangyu

author
#1 lore raw

PATCH 2/2 dt-bindings: phy: rockchip: add RK3506 USB2 PHY

Document the RK3506 USB2 PHY, which uses the phyclk and apb_pclk clocks and requires the PMU GRF phandle.

---
 .../bindings/phy/rockchip,inno-usb2phy.yaml     | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml +17 -0
index f50fc69f..956a82cc 100644
@@ -20,6 +20,7 @@ properties:
       - rockchip,rk3328-usb2phy
       - rockchip,rk3366-usb2phy
       - rockchip,rk3399-usb2phy
+      - rockchip,rk3506-usb2phy
       - rockchip,rk3528-usb2phy
       - rockchip,rk3562-usb2phy
       - rockchip,rk3568-usb2phy
@@ -47,6 +48,9 @@ properties:
       - items:
           - const: phyclk
           - const: pclk
+      - items:
+          - const: phyclk
+          - const: apb_pclk
       - items:
           - const: phyclk
           - const: aclk
@@ -158,6 +162,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - rockchip,rk3506-usb2phy
               - rockchip,rk3528-usb2phy
               - rockchip,rk3568-usb2phy
               - rockchip,rv1108-usb2phy
@@ -240,6 +245,18 @@ allOf:
         clock-names:
           minItems: 2
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: rockchip,rk3506-usb2phy
+    then:
+      properties:
+        clocks:
+          minItems: 2
+        clock-names:
+          minItems: 2
+
   - if:
       properties:
         compatible:
Signature · 1 line
2.47.3
#2 lore raw
Quoted 7 lines · ZhuXiangyu

Document the RK3506 USB2 PHY, which uses the phyclk and apb_pclk clocks and requires the PMU GRF phandle.

---
 .../bindings/phy/rockchip,inno-usb2phy.yaml     | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

I will mark everything you as changes requested. This is all half broken, b4 review cannot even fetch for review.

If you keep sending such poor submissions with that speed, I will be moving everything from you to /dev/null.

Best regards,
Krzysztof