Re: [PATCH v3 1/4] dt-bindings: clock: qcom: Add QREF regulator supplies for glymur
From: Qiang Yu
Date: Sun May 17 2026 - 23:50:37 EST
On Sun, May 17, 2026 at 10:27:39AM +0200, Krzysztof Kozlowski wrote:
> On 17/05/2026 07:39, Qiang Yu wrote:
> > On Thu, May 14, 2026 at 12:22:17PM +0200, Krzysztof Kozlowski wrote:
> >> On Wed, May 06, 2026 at 01:43:51AM -0700, Qiang Yu wrote:
> >>> 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@xxxxxxxxxxxxxxxx>
> >>> ---
> >>> .../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
> >>
> >> Either I do not understand your previous explanation:
> >> CXO -> TX0 -> RPT0 -> RPT1 -> RPT2 -> RX2 -> PCIe4_PHY
> >>
> >> or this is still wrong. There is no TCSR here, so this proves nothing.
> >> If TCSR is TX0, then you do not have five of them...
> >>
> >> My previous comment stay - you are not describing the actual hardware
> >> here.
> >>
> > The CXO network "-> TX0 -> RPT0 -> RPT1 -> RPT2 -> RX2 ->" is referred to
> > as the QREF block, and each component is controlled by the tcsr_clkref_en
> > registers.
>
> Still no clue what this -> relation is. Again, describe the hardware.
>
> >
> > If a PHY receives its reference clock from QREF, it will have a clkref_en
> > register. However, this register may be located in different regions
> > depending on the target. On glymur it resides in TCSR, so I added these
> > LDOs QREF required in tcsr yaml.
> Registers are not described as supplies.
I'm not descirbing register as supply.
tx0-0p9/1p2 rpt0-0p9 rpt1-0p9 rpt2-0p9 rx2-0p9
| | | | |
| | | | |
CXO -> TX0 -------> RPT0 ------> RPT1 -> RPT2 -----> RX2 -> PCIe4_PHY
| | | | |
| | | | |
---------------------------------------------------tcsr_clkref_en
These components(TX/RTP/RX) can be disabled/enabled by tcsr_clkref_en
register, and they require power supplies.
- Qiang Yu
>
> Best regards,
> Krzysztof