Re: [PATCH 2/3] arm64: dts: qcom: sc8280xp: Correct USB PHY power domains

From: Manivannan Sadhasivam
Date: Fri Dec 29 2023 - 12:10:31 EST


On Fri, Dec 29, 2023 at 02:01:06PM +0100, Johan Hovold wrote:
> On Wed, Dec 27, 2023 at 11:28:27PM +0100, Konrad Dybcio wrote:
> > The USB GDSCs are only related to the controllers.
>
> Are you sure?
>

Yes, that's what I was told by UFS and PCIe teams and some of the internal
documentation also confirms the same.

> > The PHYs on the other
> > hand, are powered by VDD_MX and their specific VDDA_PHY/PLL regulators.
> >
> > Fix the power-domains assignment to stop potentially toggling the GDSC
> > unnecessarily.
>
> Again, there's no additional toggling being done here, but yes, this may
> keep the domains enabled during suspend depending on how the driver is
> implemented.
>
> If that's the concern, then please spell that out too.
>
> > Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
>
> May not be needed either.
>

Fixes tag is indeed needed on this platform and all other platforms too.

- Mani

> > @@ -2597,7 +2597,7 @@ usb_2_qmpphy0: phy@88ef000 {
> > <&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>;
> > reset-names = "phy", "phy_phy";
> >
> > - power-domains = <&gcc USB30_MP_GDSC>;
> > + power-domains = <&rpmhpd SC8280XP_MX>;
>
> Johan
>

--
மணிவண்ணன் சதாசிவம்