RE: [REPOST PATCH] arm64: dts: qcom: Fix WiFi supplies on sc7180-idp

From: Rakesh Pillai
Date: Thu Jul 09 2020 - 04:36:15 EST




> -----Original Message-----
> From: Rakesh Pillai <pillair@xxxxxxxxxxxxxx>
> Sent: Friday, June 26, 2020 2:14 PM
> To: 'Douglas Anderson' <dianders@xxxxxxxxxxxx>; 'Andy Gross'
> <agross@xxxxxxxxxx>; 'Bjorn Andersson' <bjorn.andersson@xxxxxxxxxx>
> Cc: 'Evan Green' <evgreen@xxxxxxxxxxxx>; 'Sibi Sankar'
> <sibis@xxxxxxxxxxxxxx>; 'Rob Herring' <robh+dt@xxxxxxxxxx>;
> 'devicetree@xxxxxxxxxxxxxxx' <devicetree@xxxxxxxxxxxxxxx>; 'linux-arm-
> msm@xxxxxxxxxxxxxxx' <linux-arm-msm@xxxxxxxxxxxxxxx>; 'linux-
> kernel@xxxxxxxxxxxxxxx' <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: RE: [REPOST PATCH] arm64: dts: qcom: Fix WiFi supplies on sc7180-
> idp
>
>
>
> > -----Original Message-----
> > From: Douglas Anderson <dianders@xxxxxxxxxxxx>
> > Sent: Friday, June 26, 2020 1:47 AM
> > To: Andy Gross <agross@xxxxxxxxxx>; Bjorn Andersson
> > <bjorn.andersson@xxxxxxxxxx>
> > Cc: Evan Green <evgreen@xxxxxxxxxxxx>; Sibi Sankar
> > <sibis@xxxxxxxxxxxxxx>; Rakesh Pillai <pillair@xxxxxxxxxxxxxx>; Douglas
> > Anderson <dianders@xxxxxxxxxxxx>; Rob Herring <robh+dt@xxxxxxxxxx>;
> > devicetree@xxxxxxxxxxxxxxx; linux-arm-msm@xxxxxxxxxxxxxxx; linux-
> > kernel@xxxxxxxxxxxxxxx
> > Subject: [REPOST PATCH] arm64: dts: qcom: Fix WiFi supplies on
sc7180-idp
> >
> > The WiFi supplies that were added recently can't have done anything
> > useful because they were missing the "-supply" suffix. Booting
> > without the "-supply" suffix would give these messages:
> >
> > ath10k_snoc 18800000.wifi: 18800000.wifi supply vdd-0.8-cx-mx not found,
> > using dummy regulator
> > ath10k_snoc 18800000.wifi: 18800000.wifi supply vdd-1.8-xo not found,
> using
> > dummy regulator
> > ath10k_snoc 18800000.wifi: 18800000.wifi supply vdd-1.3-rfa not found,
> using
> > dummy regulator
> > ath10k_snoc 18800000.wifi: 18800000.wifi supply vdd-3.3-ch0 not found,
> > using dummy regulator
> >
> > Let's add the "-supply" suffix.
> >
> > Fixes: 1e7594a38f37 ("arm64: dts: qcom: sc7180: Add WCN3990 WLAN
> > module device node")
> > Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> > ---
> Reviewed-by: Rakesh Pillai <pillair@xxxxxxxxxxxxxx>


Tested-by: Rakesh Pillai <pillair@xxxxxxxxxxxxxx>

>
> I missed this in the DTSI patch, while manually rebasing to the kernel
tip.
>
> > I don't have an IDP setup but I have a similar board. Testing on IDP
> > would, of course, be appreciated.
> >
> > Repost because I screwed up the "after-the-cut" notes on first post.
> >
> > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> > b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> > index 39dbfc89689e..472f7f41cc93 100644
> > --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> > +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> > @@ -391,10 +391,10 @@ video-firmware {
> >
> > &wifi {
> > status = "okay";
> > - vdd-0.8-cx-mx = <&vreg_l9a_0p6>;
> > - vdd-1.8-xo = <&vreg_l1c_1p8>;
> > - vdd-1.3-rfa = <&vreg_l2c_1p3>;
> > - vdd-3.3-ch0 = <&vreg_l10c_3p3>;
> > + vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>;
> > + vdd-1.8-xo-supply = <&vreg_l1c_1p8>;
> > + vdd-1.3-rfa-supply = <&vreg_l2c_1p3>;
> > + vdd-3.3-ch0-supply = <&vreg_l10c_3p3>;
> > wifi-firmware {
> > iommus = <&apps_smmu 0xc2 0x1>;
> > };
> > --
> > 2.27.0.212.ge8ba1cc988-goog