diff options
Diffstat (limited to 'Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml')
| -rw-r--r-- | Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml index 8d8698412de0..379b08bd9e97 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: enum: + - rockchip,rk3528-naneng-combphy + - rockchip,rk3562-naneng-combphy - rockchip,rk3568-naneng-combphy + - rockchip,rk3576-naneng-combphy + - rockchip,rk3588-naneng-combphy reg: maxItems: 1 @@ -30,8 +34,20 @@ properties: - const: pipe resets: + minItems: 1 + maxItems: 2 + + reset-names: + minItems: 1 items: - - description: exclusive PHY reset line + - const: phy + - const: apb + + phy-supply: + description: Single PHY regulator + + power-domains: + maxItems: 1 rockchip,enable-ssc: type: boolean @@ -77,6 +93,34 @@ required: - rockchip,pipe-phy-grf - "#phy-cells" +allOf: + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-naneng-combphy + then: + properties: + resets: + maxItems: 1 + reset-names: + maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3528-naneng-combphy + - rockchip,rk3588-naneng-combphy + then: + properties: + resets: + minItems: 2 + reset-names: + minItems: 2 + required: + - reset-names + additionalProperties: false examples: |
