public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8450: add missing power-domains property to usb qmpphy node
Date: Wed, 21 Jun 2023 12:49:03 +0200	[thread overview]
Message-ID: <2f0ddd6d-4099-fdaa-c8f5-95dba7fe87fd@linaro.org> (raw)
In-Reply-To: <6180134a-2919-0f13-e37c-bb64b6403692@linaro.org>

On 21/06/2023 12:39, Neil Armstrong wrote:
> Hi,
> 
> On 21/06/2023 12:01, Konrad Dybcio wrote:
>> On 21.06.2023 11:55, Neil Armstrong wrote:
>>> Add the missing property to fix the bindings check error:
>>> arch/arm64/boot/dts/qcom/sm8450-hdk.dtb: phy@88e8000: 'power-domains' is a required property
>>>      From schema: Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml
>>>
>>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>>> ---
>> Are you sure about this one? Historically PHYs have had their own GDSCs.
>>
>> May just be a wrong binding fwiw
> 
> Indeed you're right, forget this patch USB30_PRIM_GDSC id for the controller
> and starting from SM8550 a new one is used USB3_PHY_GDSC.
> 
> I'll fix the bindings.

https://lore.kernel.org/all/20230521202321.19778-2-dmitry.baryshkov@linaro.org/ does exactly that,
so no need to fix anything.

Neil

> 
> Neil
> 
>>
>> Konrad
>>>   arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 ++
>>>   1 file changed, 2 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> index 5cd7296c7660..f921bd520e40 100644
>>> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> @@ -2046,6 +2046,8 @@ usb_1_qmpphy: phy@88e8000 {
>>>                    <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
>>>               clock-names = "aux", "ref", "com_aux", "usb3_pipe";
>>> +            power-domains = <&gcc USB30_PRIM_GDSC>;
>>> +
>>>               resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
>>>                    <&gcc GCC_USB3_PHY_PRIM_BCR>;
>>>               reset-names = "phy", "common";
>>>
>>> ---
>>> base-commit: 15e71592dbae49a674429c618a10401d7f992ac3
>>> change-id: 20230621-topic-sm8450-upstream-usb-phy-missing-power-domains-499a3d6c725f
>>>
>>> Best regards,
> 


      reply	other threads:[~2023-06-21 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21  9:55 [PATCH] arm64: dts: qcom: sm8450: add missing power-domains property to usb qmpphy node Neil Armstrong
2023-06-21 10:01 ` Konrad Dybcio
2023-06-21 10:39   ` Neil Armstrong
2023-06-21 10:49     ` Neil Armstrong [this message]

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=2f0ddd6d-4099-fdaa-c8f5-95dba7fe87fd@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=agross@kernel.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-kernel@vger.kernel.org \
    --cc=robh+dt@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