From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: andersson@kernel.org, vkoul@kernel.org, sboyd@kernel.org,
mturquette@baylibre.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, quic_cang@quicinc.com
Subject: Re: [PATCH v2 14/16] arm64: dts: qcom: sc8280xp: Fix UFS PHY clocks
Date: Wed, 24 Jan 2024 14:16:59 +0530 [thread overview]
Message-ID: <20240124084659.GE4906@thinkpad> (raw)
In-Reply-To: <a888e261-e990-445c-ab98-f63859c19dd2@linaro.org>
On Wed, Jan 03, 2024 at 02:50:04PM +0100, Konrad Dybcio wrote:
> On 20.12.2023 09:30, Manivannan Sadhasivam wrote:
> > On Wed, Dec 20, 2023 at 01:35:27AM +0100, Konrad Dybcio wrote:
> >> On 18.12.2023 13:07, Manivannan Sadhasivam wrote:
> >>> QMP PHY used in SC8280XP requires 3 clocks:
> >>>
> >>> * ref - 19.2MHz reference clock from RPMh
> >>> * ref_aux - Auxiliary reference clock from GCC
> >>> * qref - QREF clock from GCC
> >>>
> >>> Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
> >>> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> >>> ---
> >>> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 18 ++++++++++++------
> >>> 1 file changed, 12 insertions(+), 6 deletions(-)
> >>>
> >>> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> >>> index cad59af7ccef..37344abbe8bf 100644
> >>> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> >>> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> >>> @@ -2256,9 +2256,12 @@ ufs_mem_phy: phy@1d87000 {
> >>> compatible = "qcom,sc8280xp-qmp-ufs-phy";
> >>> reg = <0 0x01d87000 0 0x1000>;
> >>>
> >>> - clocks = <&gcc GCC_UFS_CARD_CLKREF_CLK>,
> >>> - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
> >>> - clock-names = "ref", "ref_aux";
> >>> + clocks = <&rpmhcc RPMH_CXO_CLK>,
> >>> + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
> >>> + <&gcc GCC_UFS_CARD_CLKREF_CLK>;
> >> GCC_UFS_REF_CLKREF_CLK
> >
> > I'm not sure about this CLK. So I kept it as it is until I verify it.
> I am quite sure everything *UFS_CARD_* refers to the other UFS host..
>
We cannot infer that from the naming. There is a chance that the same clock
could be routed to MEM_PHY internally. Moreover, there is no separate "ref"
clock for MEM_PHY though.
- Mani
--
மணிவண்ணன் சதாசிவம்
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2024-01-24 8:47 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-18 12:06 [PATCH v2 00/16] Fix Qcom UFS PHY clocks Manivannan Sadhasivam
2023-12-18 12:06 ` [PATCH v2 01/16] dt-bindings: phy: qmp-ufs: Fix " Manivannan Sadhasivam
2024-01-24 5:44 ` Vinod Koul
2023-12-18 12:06 ` [PATCH v2 02/16] phy: qcom-qmp-ufs: Switch to devm_clk_bulk_get_all() API Manivannan Sadhasivam
2023-12-18 12:06 ` [PATCH v2 03/16] dt-bindings: clock: qcom: Add missing UFS QREF clocks Manivannan Sadhasivam
2023-12-20 7:38 ` Krzysztof Kozlowski
2023-12-18 12:07 ` [PATCH v2 04/16] clk: qcom: gcc-sc8180x: " Manivannan Sadhasivam
2023-12-20 0:39 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 05/16] arm64: dts: qcom: msm8996: Fix UFS PHY clocks Manivannan Sadhasivam
2023-12-20 0:32 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 06/16] arm64: dts: qcom: msm8998: " Manivannan Sadhasivam
2023-12-20 0:32 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 07/16] arm64: dts: qcom: sdm845: " Manivannan Sadhasivam
2023-12-20 0:33 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 08/16] arm64: dts: qcom: sm6115: " Manivannan Sadhasivam
2023-12-20 0:33 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 09/16] arm64: dts: qcom: sm6125: " Manivannan Sadhasivam
2023-12-20 0:33 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 10/16] arm64: dts: qcom: sm6350: " Manivannan Sadhasivam
2023-12-20 0:34 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 11/16] arm64: dts: qcom: sm8150: " Manivannan Sadhasivam
2023-12-20 0:34 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 12/16] arm64: dts: qcom: sm8250: " Manivannan Sadhasivam
2023-12-20 0:34 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 13/16] arm64: dts: qcom: sc8180x: " Manivannan Sadhasivam
2023-12-20 0:34 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 14/16] arm64: dts: qcom: sc8280xp: " Manivannan Sadhasivam
2023-12-20 0:35 ` Konrad Dybcio
2023-12-20 8:30 ` Manivannan Sadhasivam
2024-01-03 13:50 ` Konrad Dybcio
2024-01-24 8:46 ` Manivannan Sadhasivam [this message]
2023-12-18 12:07 ` [PATCH v2 15/16] arm64: dts: qcom: sm8350: " Manivannan Sadhasivam
2023-12-20 0:35 ` Konrad Dybcio
2023-12-18 12:07 ` [PATCH v2 16/16] arm64: dts: qcom: sm8550: " Manivannan Sadhasivam
2023-12-20 0:36 ` Konrad Dybcio
2023-12-20 3:56 ` Can Guo
2024-02-07 14:01 ` (subset) [PATCH v2 00/16] Fix Qcom " 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=20240124084659.GE4906@thinkpad \
--to=manivannan.sadhasivam@linaro.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=quic_cang@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=vkoul@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).