[PATCH 19/27] dt-bindings: phy: rockchip-naneng-combphy: Add RK3572
Cunhao Lu via B4 Relay
devnull+1579567540.qq.com at kernel.org
Wed Oct 21 09:11:16 PDT 2026
From: Cunhao Lu <1579567540 at qq.com>
The RK3572 combo PHY uses two input clocks and one reset.
Signed-off-by: Cunhao Lu <1579567540 at qq.com>
---
.../bindings/phy/phy-rockchip-naneng-combphy.yaml | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
index 379b08bd9e97a..80cee3f8874d9 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
@@ -15,6 +15,7 @@ properties:
- rockchip,rk3528-naneng-combphy
- rockchip,rk3562-naneng-combphy
- rockchip,rk3568-naneng-combphy
+ - rockchip,rk3572-naneng-combphy
- rockchip,rk3576-naneng-combphy
- rockchip,rk3588-naneng-combphy
@@ -22,12 +23,14 @@ properties:
maxItems: 1
clocks:
+ minItems: 2
items:
- description: reference clock
- description: apb clock
- description: pipe clock
clock-names:
+ minItems: 2
items:
- const: ref
- const: apb
@@ -94,6 +97,26 @@ required:
- "#phy-cells"
allOf:
+ - if:
+ properties:
+ compatible:
+ const: rockchip,rk3572-naneng-combphy
+ then:
+ properties:
+ clocks:
+ maxItems: 2
+ clock-names:
+ maxItems: 2
+ resets:
+ maxItems: 1
+ reset-names:
+ maxItems: 1
+ else:
+ properties:
+ clocks:
+ minItems: 3
+ clock-names:
+ minItems: 3
- if:
properties:
compatible:
--
2.34.1
More information about the Linux-rockchip
mailing list