diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-06-12 19:13:35 +0200 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-06-23 09:33:53 +0900 |
commit | fd3ac6e8049799ca7dbd2738de8e149536e92a5e (patch) | |
tree | b35a6c02f5b96378575c085c499dcc71c5696cb0 | |
parent | 85b0e13b19c23f0ee71b2bacb43ccd6b0e6e31dd (diff) |
dt-bindings: phy: rockchip: rk3588 has two reset lines
The RK3588 has two reset lines for the combphy. One for the
APB interface and one for the actual PHY.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml | 34 |
1 files changed, 33 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 9ae514fa7533..d3cd7997879f 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml @@ -31,8 +31,14 @@ properties: - const: pipe resets: + minItems: 1 + maxItems: 2 + + reset-names: + minItems: 1 items: - - description: exclusive PHY reset line + - const: phy + - const: apb rockchip,enable-ssc: type: boolean @@ -78,6 +84,32 @@ 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: + const: rockchip,rk3588-naneng-combphy + then: + properties: + resets: + minItems: 2 + reset-names: + minItems: 2 + required: + - reset-names + additionalProperties: false examples: |