[PATCH v3 1/4] dt-bindings: clock: qcom: Add QREF regulator supplies for glymur

Qiang Yu
2026-05-06T08:44:04Z

Add regulator supply properties for the Glymur TCSR QREF/REFGEN blocks
required by clkref clocks.

The vdda-qreftx*, vdda-qrefrpt*, and vdda-qrefrx* supplies map to common
QREF TX/RPT/RX components, while SoC-specific topology and instance count
differ. Document them here for qcom,glymur-tcsr.

Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
---
.../bindings/clock/qcom,sm8550-tcsr.yaml | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml
index 1ccdf4b0f5dd..57921cb63230 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml
@@ -51,6 +51,63 @@ properties:
'#reset-cells':
const: 1

+ vdda-refgen-0p9-supply: true
+ vdda-refgen-1p2-supply: true
+ vdda-qrefrx0-0p9-supply: true
+ vdda-qrefrx1-0p9-supply: true
+ vdda-qrefrx2-0p9-supply: true
+ vdda-qrefrx4-0p9-supply: true
+ vdda-qrefrx5-0p9-supply: true
+ vdda-qreftx0-0p9-supply: true
+ vdda-qreftx0-1p2-supply: true
+ vdda-qreftx1-0p9-supply: true
+ vdda-qrefrpt0-0p9-supply: true
+ vdda-qrefrpt1-0p9-supply: true
+ vdda-qrefrpt2-0p9-supply: true
+ vdda-qrefrpt3-0p9-supply: true
+ vdda-qrefrpt4-0p9-supply: true
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: qcom,glymur-tcsr
+ then:
+ required:
+ - vdda-refgen-0p9-supply
+ - vdda-refgen-1p2-supply
+ - vdda-qrefrx0-0p9-supply
+ - vdda-qrefrx1-0p9-supply
+ - vdda-qrefrx2-0p9-supply
+ - vdda-qrefrx4-0p9-supply
+ - vdda-qrefrx5-0p9-supply
+ - vdda-qreftx0-0p9-supply
+ - vdda-qreftx0-1p2-supply
+ - vdda-qreftx1-0p9-supply
+ - vdda-qrefrpt0-0p9-supply
+ - vdda-qrefrpt1-0p9-supply
+ - vdda-qrefrpt2-0p9-supply
+ - vdda-qrefrpt3-0p9-supply
+ - vdda-qrefrpt4-0p9-supply
+ else:
+ properties:
+ vdda-refgen-0p9-supply: false
+ vdda-refgen-1p2-supply: false
+ vdda-qrefrx0-0p9-supply: false
+ vdda-qrefrx1-0p9-supply: false
+ vdda-qrefrx2-0p9-supply: false
+ vdda-qrefrx4-0p9-supply: false
+ vdda-qrefrx5-0p9-supply: false
+ vdda-qreftx0-0p9-supply: false
+ vdda-qreftx0-1p2-supply: false
+ vdda-qreftx1-0p9-supply: false
+ vdda-qrefrpt0-0p9-supply: false
+ vdda-qrefrpt1-0p9-supply: false
+ vdda-qrefrpt2-0p9-supply: false
+ vdda-qrefrpt3-0p9-supply: false
+ vdda-qrefrpt4-0p9-supply: false
+
required:
- compatible
- clocks

--
2.34.1