mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com>,
	Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	peter.chen@oss.qualcomm.com, qiang.yu@oss.qualcomm.com,
	linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: Re: [PATCH v2 1/4] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add vdda-refgen and refgen supply properties
Date: Wed, 25 Nov 2026 12:57:10 +0100	[thread overview]
Message-ID: <f4d667b0-8a92-48f1-a033-3ba12e0e85b4@oss.qualcomm.com> (raw)
In-Reply-To: <361c05d6-b5b9-41a5-a33d-b12f534e5893@oss.qualcomm.com>

On 11/3/26 11:58 AM, Ziyue Zhang wrote:
> 
> On 10/28/2026 10:37 PM, Konrad Dybcio wrote:
>> On 9/16/26 12:20 PM, Ziyue Zhang wrote:
>>> QCS8300 and SA8775p PCIe PHYs require dedicated vdda-refgen and refgen
>>> LDO supplies for QREF to provide a stable reference clock. Without these
>>> supplies, the PCIe PHYs cannot work properly. Mark them as required for
>>> the affected compatibles even though it breaks ABI.
>>>
>>> vdda-refgen-supply is required for all three QCS8300 and SA8775p PHY
>>> compatibles. refgen-supply is required for QCS8300 only, as a workaround
>>> for a hardware issue where QREF actually depends on refgen3 rather than
>>> refgen2 as documented, so the PHY driver votes for refgen3 directly via
>>> this supply.
>>>
>>> Signed-off-by: Ziyue Zhang<ziyue.zhang@oss.qualcomm.com>
>>> Reviewed-by: Krzysztof Kozlowski<krzysztof.kozlowski@oss.qualcomm.com>
>>> ---
>>>   .../phy/qcom,sc8280xp-qmp-pcie-phy.yaml       | 27 +++++++++++++++++++
>>>   1 file changed, 27 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml
>>> index b353b7bfb839..bd4c98784142 100644
>>> --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml
>>> +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml
>>> @@ -94,6 +94,11 @@ properties:
>>>       vdda-qref-supply: true
>>>   +  vdda-refgen-supply: true
>> There's 2 REFGEN supplies (0p9, 1p2) and the sister Glymur patchset
>> defines both.
>>
>> Konrad
> 
> Monaco and Lemans only have a single refgen(vreg_l7a) supply. There are
> no separate 0.9 V and 1.2 V REFGEN supplies on these platforms.

VDD_A_REFGEN_0P9 L4A
VDD_A_REFGEN_1P2 lemans=L1C monaco=L6A

Konrad

  parent reply	other threads:[~2026-11-25 11:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16 10:20 [PATCH v2 0/4] Add qref and refgen regulator support for QCS8300 and SA8775p PCIe PHYs Ziyue Zhang
2026-09-16 10:20 ` [PATCH v2 1/4] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add vdda-refgen and refgen supply properties Ziyue Zhang
2026-10-28 14:37   ` Konrad Dybcio
     [not found]     ` <361c05d6-b5b9-41a5-a33d-b12f534e5893@oss.qualcomm.com>
2026-11-25 11:57       ` Konrad Dybcio [this message]
2026-09-16 10:20 ` [PATCH v2 2/4] phy: qcom: qmp-pcie: Add qref and refgen regulator vote for QCS8300 and SA8775p PHY Ziyue Zhang
2026-10-12 15:42   ` Manivannan Sadhasivam
2026-10-28 14:37   ` Konrad Dybcio
2026-11-03 10:50     ` Ziyue Zhang
2026-11-17  7:03     ` Qiang Yu
2026-09-16 10:20 ` [PATCH v2 3/4] arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs Ziyue Zhang
2026-09-16 10:20 ` [PATCH v2 4/4] arm64: dts: qcom: sa8775p: " Ziyue Zhang
2026-10-13  7:27 ` [PATCH v2 0/4] Add qref and refgen regulator support for QCS8300 and SA8775p " Ziyue Zhang
2026-11-12  8:29   ` Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f4d667b0-8a92-48f1-a033-3ba12e0e85b4@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=peter.chen@oss.qualcomm.com \
    --cc=qiang.yu@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=vkoul@kernel.org \
    --cc=ziyue.zhang@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®