diff mbox series

[10/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate PIPE clock names

Message ID 20220705094239.17174-11-johan+linaro@kernel.org (mailing list archive)
State Superseded
Headers show
Series phy: qcom,qmp: fix dt-bindings and deprecate lane suffix | expand

Commit Message

Johan Hovold July 5, 2022, 9:42 a.m. UTC
Drop the unnecessary "lane" suffix from the PHY PIPE clock names and
mark the old names as deprecated.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 .../phy/qcom,msm8996-qmp-pcie-phy.yaml        | 20 +++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Comments

Krzysztof Kozlowski July 5, 2022, 10:10 a.m. UTC | #1
On 05/07/2022 11:42, Johan Hovold wrote:
> Drop the unnecessary "lane" suffix from the PHY PIPE clock names and
> mark the old names as deprecated.
> 
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml
index 45f7bb7a632a..7931b1fd1476 100644
--- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml
@@ -79,11 +79,15 @@  patternProperties:
           - description: PIPE clock
 
       clock-names:
-        items:
-          - enum:
-              - pipe0
-              - pipe1
-              - pipe2
+        oneOf:
+          - items:
+              - const: pipe
+          - items:
+              - enum:
+                  - pipe0
+                  - pipe1
+                  - pipe2
+            deprecated: true
 
       resets:
         items:
@@ -160,7 +164,7 @@  examples:
                   <0x1400 0x1dc>;
 
             clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
-            clock-names = "pipe0";
+            clock-names = "pipe";
             resets = <&gcc GCC_PCIE_0_PHY_BCR>;
             reset-names = "lane0";
 
@@ -176,7 +180,7 @@  examples:
                   <0x2400 0x1dc>;
 
             clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
-            clock-names = "pipe1";
+            clock-names = "pipe";
             resets = <&gcc GCC_PCIE_1_PHY_BCR>;
             reset-names = "lane1";
 
@@ -192,7 +196,7 @@  examples:
                   <0x3400 0x1dc>;
 
             clocks = <&gcc GCC_PCIE_2_PIPE_CLK>;
-            clock-names = "pipe2";
+            clock-names = "pipe";
             resets = <&gcc GCC_PCIE_2_PHY_BCR>;
             reset-names = "lane2";