[PATCH 37/43] dt-bindings: phy: qcom,qmp-usb3-dp: deprecate USB PIPE clock name

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


Drop the bogus "lane" suffix from the USB PHY PIPE clock name and mark
the old name as deprecated.

Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
---
 .../devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml  | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
index 86d64c61bca3..09d7708158bb 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
@@ -96,8 +96,12 @@ patternProperties:
           - description: pipe clock
 
       clock-names:
-        items:
-          - const: pipe0
+        oneOf:
+          - items:
+              - const: pipe
+          - items:
+              - const: pipe0
+            deprecated: true
 
       clock-output-names:
         items:
@@ -192,7 +196,7 @@ examples:
             #clock-cells = <0>;
             #phy-cells = <0>;
             clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
-            clock-names = "pipe0";
+            clock-names = "pipe";
             clock-output-names = "usb3_phy_pipe_clk_src";
         };
 
-- 
2.35.1




More information about the linux-phy mailing list