[PATCH 05/11] dt-bindings: clock: qcom: ipq5332-gcc: Describe clock inputs per compatible
From: Kathiravan Thirumoorthy
Date: Mon Sep 21 2026 - 02:24:26 EST
The IPQ5332 and IPQ5424 GCC blocks use different clock input orderings.
Document the clock inputs in compatible-specific schema constraints instead
of using a common clock description.
Also add the 375 MHz PPE clock generated by the CMN PLL to the IPQ5424
clock input list.
This keeps the binding aligned with the clock ordering used by the
existing DTS and GCC driver implementations.
Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
.../bindings/clock/qcom,ipq5332-gcc.yaml | 26 +++++++++++++---------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
index 1230183fc0a9..fb39dffca988 100644
--- a/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
@@ -25,14 +25,7 @@ properties:
clocks:
minItems: 5
- items:
- - description: Board XO clock source
- - description: Sleep clock source
- - description: PCIE 2lane PHY pipe clock source
- - description: PCIE 2lane x1 PHY pipe clock source (For second lane)
- - description: USB PCIE wrapper pipe clock source
- - description: PCIE 2-lane PHY2 pipe clock source
- - description: PCIE 2-lane PHY3 pipe clock source
+ maxItems: 8
'#power-domain-cells': false
'#interconnect-cells':
@@ -52,7 +45,12 @@ allOf:
then:
properties:
clocks:
- maxItems: 5
+ items:
+ - description: Board XO clock source
+ - description: Sleep clock source
+ - description: PCIE 2lane PHY pipe clock source
+ - description: PCIE 2lane x1 PHY pipe clock source (For second lane)
+ - description: USB PCIE wrapper pipe clock source
- if:
properties:
@@ -63,7 +61,15 @@ allOf:
properties:
clocks:
minItems: 7
- maxItems: 7
+ items:
+ - description: Board XO clock source
+ - description: Sleep clock source
+ - description: PCIE 2lane PHY pipe clock source
+ - description: PCIE 2lane x1 PHY pipe clock source (For second lane)
+ - description: PCIE 2-lane PHY2 pipe clock source
+ - description: PCIE 2-lane PHY3 pipe clock source
+ - description: USB PCIE wrapper pipe clock source
+ - description: 375 MHz PPE clock generated from the CMN PLL
unevaluatedProperties: false
--
2.34.1