2020-06-25 23:30:49

by Doug Anderson

[permalink] [raw]
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 <[email protected]>
---
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


2020-06-26 08:46:45

by Rakesh Pillai

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



> -----Original Message-----
> From: Douglas Anderson <[email protected]>
> Sent: Friday, June 26, 2020 1:47 AM
> To: Andy Gross <[email protected]>; Bjorn Andersson
> <[email protected]>
> Cc: Evan Green <[email protected]>; Sibi Sankar
> <[email protected]>; Rakesh Pillai <[email protected]>; Douglas
> Anderson <[email protected]>; Rob Herring <[email protected]>;
> [email protected]; [email protected]; linux-
> [email protected]
> 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 <[email protected]>
> ---
Reviewed-by: Rakesh Pillai <[email protected]>

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


2020-07-09 08:36:58

by Rakesh Pillai

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



> -----Original Message-----
> From: Rakesh Pillai <[email protected]>
> Sent: Friday, June 26, 2020 2:14 PM
> To: 'Douglas Anderson' <[email protected]>; 'Andy Gross'
> <[email protected]>; 'Bjorn Andersson' <[email protected]>
> Cc: 'Evan Green' <[email protected]>; 'Sibi Sankar'
> <[email protected]>; 'Rob Herring' <[email protected]>;
> '[email protected]' <[email protected]>; 'linux-arm-
> [email protected]' <[email protected]>; 'linux-
> [email protected]' <[email protected]>
> Subject: RE: [REPOST PATCH] arm64: dts: qcom: Fix WiFi supplies on sc7180-
> idp
>
>
>
> > -----Original Message-----
> > From: Douglas Anderson <[email protected]>
> > Sent: Friday, June 26, 2020 1:47 AM
> > To: Andy Gross <[email protected]>; Bjorn Andersson
> > <[email protected]>
> > Cc: Evan Green <[email protected]>; Sibi Sankar
> > <[email protected]>; Rakesh Pillai <[email protected]>; Douglas
> > Anderson <[email protected]>; Rob Herring <[email protected]>;
> > [email protected]; [email protected]; linux-
> > [email protected]
> > 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 <[email protected]>
> > ---
> Reviewed-by: Rakesh Pillai <[email protected]>


Tested-by: Rakesh Pillai <[email protected]>

>
> 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