[PATCH 22/43] dt-bindings: phy: qcom,qmp-ufs: clean up reset providers

Johan Hovold johan+linaro at kernel.org
Tue Jul 5 02:42:18 PDT 2022


The UFS binding requires a single PHY reset.

Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
---
 .../bindings/phy/qcom,qmp-ufs-phy.yaml        | 20 ++++---------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml
index c4458d90d8b7..b84511f02221 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml
@@ -52,12 +52,12 @@ properties:
     maxItems: 4
 
   resets:
-    minItems: 1
-    maxItems: 3
+    items:
+      - description: PHY reset in the UFS controller.
 
   reset-names:
-    minItems: 1
-    maxItems: 3
+    items:
+      - const: ufsphy
 
   vdda-phy-supply:
     description:
@@ -108,12 +108,6 @@ allOf:
         clock-names:
           items:
             - const: ref
-        resets:
-          items:
-            - description: PHY reset in the UFS controller.
-        reset-names:
-          items:
-            - const: ufsphy
 
   - if:
       properties:
@@ -137,9 +131,3 @@ allOf:
           items:
             - const: ref
             - const: ref_aux
-        resets:
-          items:
-            - description: PHY reset in the UFS controller.
-        reset-names:
-          items:
-            - const: ufsphy
-- 
2.35.1




More information about the linux-phy mailing list