* [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards
@ 2022-05-18 22:52 Matthias Kaehlcke
2022-05-20 20:07 ` Doug Anderson
2022-06-27 20:02 ` (subset) " Bjorn Andersson
0 siblings, 2 replies; 4+ messages in thread
From: Matthias Kaehlcke @ 2022-05-18 22:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
Cc: Douglas Anderson, linux-arm-msm, Kevin Lund, devicetree,
linux-kernel, Matthias Kaehlcke
Enable the 'wifi' and 'remoteproc_wpss' nodes for all sc7280
based Chrome OS boards. Delete the corresponding entries from
sc7280-idp.dtsi since this file includes sc7280-chrome-common.dtsi.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 13 +++++++++++++
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 11 -----------
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
index 9f4a9c263c35..0002e389bbe2 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
@@ -91,7 +91,20 @@ &remoteproc_mpss {
memory-region = <&mba_mem>, <&mpss_mem>;
};
+&remoteproc_wpss {
+ status = "okay";
+ firmware-name = "ath11k/WCN6750/hw1.0/wpss.mdt";
+};
+
/* Increase the size from 2.5MB to 8MB */
&rmtfs_mem {
reg = <0x0 0x9c900000 0x0 0x800000>;
};
+
+&wifi {
+ status = "okay";
+
+ wifi-firmware {
+ iommus = <&apps_smmu 0x1c02 0x1>;
+ };
+};
diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
index 5eb668991e24..9cea8fc7ff8b 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
@@ -560,14 +560,3 @@ sw_ctrl: sw-ctrl {
bias-pull-down;
};
};
-
-&remoteproc_wpss {
- status = "okay";
-};
-
-&wifi {
- status = "okay";
- wifi-firmware {
- iommus = <&apps_smmu 0x1c02 0x1>;
- };
-};
--
2.36.1.124.g0e6072fb45-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards
2022-05-18 22:52 [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards Matthias Kaehlcke
@ 2022-05-20 20:07 ` Doug Anderson
2022-05-20 20:35 ` Matthias Kaehlcke
2022-06-27 20:02 ` (subset) " Bjorn Andersson
1 sibling, 1 reply; 4+ messages in thread
From: Doug Anderson @ 2022-05-20 20:07 UTC (permalink / raw)
To: Matthias Kaehlcke
Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
linux-arm-msm, Kevin Lund,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML
Hi,
On Wed, May 18, 2022 at 3:53 PM Matthias Kaehlcke <mka@chromium.org> wrote:
>
> Enable the 'wifi' and 'remoteproc_wpss' nodes for all sc7280
> based Chrome OS boards. Delete the corresponding entries from
> sc7280-idp.dtsi since this file includes sc7280-chrome-common.dtsi.
>
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
>
> arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 13 +++++++++++++
> arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 11 -----------
> 2 files changed, 13 insertions(+), 11 deletions(-)
Looks right to me. You're also adding the firmware-name, but:
* That's in the bindings.
* The name you have there matches what's in the linux-firmware
repository in commit 0d5e9f7e0aa1 ("ath11k: WCN6750 hw1.0: add to
WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1")
Hmmm, I guess one question is whether this same firmware would also be
used for other, non-Chrome sc7280 devices. If so then the
firmware-name probably belongs straight in sc7280.dtsi? I suppose that
could always happen in a future change if/when we have other sc7280
devices and it's clear that they're sharing firmware. Thus:
Reviewed-by: Douglas Anderson <dianders@chromium.org>
-Doug
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards
2022-05-20 20:07 ` Doug Anderson
@ 2022-05-20 20:35 ` Matthias Kaehlcke
0 siblings, 0 replies; 4+ messages in thread
From: Matthias Kaehlcke @ 2022-05-20 20:35 UTC (permalink / raw)
To: Doug Anderson
Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
linux-arm-msm, Kevin Lund,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML
On Fri, May 20, 2022 at 01:07:53PM -0700, Doug Anderson wrote:
> Hi,
>
> On Wed, May 18, 2022 at 3:53 PM Matthias Kaehlcke <mka@chromium.org> wrote:
> >
> > Enable the 'wifi' and 'remoteproc_wpss' nodes for all sc7280
> > based Chrome OS boards. Delete the corresponding entries from
> > sc7280-idp.dtsi since this file includes sc7280-chrome-common.dtsi.
> >
> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> > ---
> >
> > arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 13 +++++++++++++
> > arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 11 -----------
> > 2 files changed, 13 insertions(+), 11 deletions(-)
>
> Looks right to me. You're also adding the firmware-name, but:
>
> * That's in the bindings.
>
> * The name you have there matches what's in the linux-firmware
> repository in commit 0d5e9f7e0aa1 ("ath11k: WCN6750 hw1.0: add to
> WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1")
>
> Hmmm, I guess one question is whether this same firmware would also be
> used for other, non-Chrome sc7280 devices. If so then the
> firmware-name probably belongs straight in sc7280.dtsi? I suppose that
> could always happen in a future change if/when we have other sc7280
> devices and it's clear that they're sharing firmware. Thus:
It could go either way. One of our wifi engineers mentioned that his
contact at QC said the FW should reside directly in /lib/firmware, not
in any sub-directory, which would be odd, but up to them ;-)
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (subset) [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards
2022-05-18 22:52 [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards Matthias Kaehlcke
2022-05-20 20:07 ` Doug Anderson
@ 2022-06-27 20:02 ` Bjorn Andersson
1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2022-06-27 20:02 UTC (permalink / raw)
To: Krzysztof Kozlowski, Matthias Kaehlcke, Andy Gross, Rob Herring
Cc: Kevin Lund, linux-kernel, linux-arm-msm, devicetree, Douglas Anderson
On Wed, 18 May 2022 15:52:55 -0700, Matthias Kaehlcke wrote:
> Enable the 'wifi' and 'remoteproc_wpss' nodes for all sc7280
> based Chrome OS boards. Delete the corresponding entries from
> sc7280-idp.dtsi since this file includes sc7280-chrome-common.dtsi.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards
commit: 2a77ada5168af6c4ab8df1ea13655245f149b3fe
Best regards,
--
Bjorn Andersson <bjorn.andersson@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-27 20:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 22:52 [PATCH] arm64: dts: qcom: sc7280: Enable wifi for Chrome OS boards Matthias Kaehlcke
2022-05-20 20:07 ` Doug Anderson
2022-05-20 20:35 ` Matthias Kaehlcke
2022-06-27 20:02 ` (subset) " Bjorn Andersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.