[PATCH 10/43] dt-bindings: phy: qcom,msm8996-qmp-pcie: deprecate PIPE clock names
Johan Hovold
johan+linaro at kernel.org
Tue Jul 5 02:42:06 PDT 2022
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 at kernel.org>
---
.../phy/qcom,msm8996-qmp-pcie-phy.yaml | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
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";
--
2.35.1
More information about the linux-phy
mailing list