* [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node
@ 2020-11-21 5:58 Bjorn Andersson
2020-11-21 5:58 ` [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node Bjorn Andersson
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Bjorn Andersson @ 2020-11-21 5:58 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Rob Herring
Cc: linux-arm-msm, devicetree, linux-kernel
From: Jonathan Marek <jonathan@marek.ca>
Add a node for the WCN3990 WiFi module.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
[bjorn: Extracted patch from larger "misc" patch, added qdss clock]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index c2f8c3097ac5..f4c3fbf36e87 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1297,6 +1297,29 @@ cpufreq_hw: cpufreq@18323000 {
#freq-domain-cells = <1>;
};
+
+ wifi: wifi@18800000 {
+ compatible = "qcom,wcn3990-wifi";
+ reg = <0 0x18800000 0 0x800000>;
+ reg-names = "membase";
+ memory-region = <&wlan_mem>;
+ clock-names = "cxo_ref_clk_pin", "qdss";
+ clocks = <&rpmhcc RPMH_RF_CLK2>, <&aoss_qmp>;
+ interrupts = <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
+ iommus = <&apps_smmu 0x0640 0x1>;
+ status = "disabled";
+ };
};
timer {
--
2.28.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node
2020-11-21 5:58 [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Bjorn Andersson
@ 2020-11-21 5:58 ` Bjorn Andersson
2020-11-24 15:22 ` Vinod Koul
2020-11-21 11:04 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node kernel test robot
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Bjorn Andersson @ 2020-11-21 5:58 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Rob Herring
Cc: linux-arm-msm, devicetree, linux-kernel
From: Jonathan Marek <jonathan@marek.ca>
Enable the WiFi node and specify its supply regulators.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
[bjorn: Extracted patch from larger HDK patch]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
index 6c6325c3af59..7a64a2ed78c3 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
@@ -429,3 +429,12 @@ &usb_1 {
&usb_1_dwc3 {
dr_mode = "peripheral";
};
+
+&wifi {
+ status = "okay";
+
+ vdd-0.8-cx-mx-supply = <&vdda_wcss_pll>;
+ vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
+ vdd-1.3-rfa-supply = <&vdda_wcss_adcdac_1>;
+ vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
+};
--
2.28.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node
2020-11-21 5:58 [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Bjorn Andersson
2020-11-21 5:58 ` [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node Bjorn Andersson
@ 2020-11-21 11:04 ` kernel test robot
2020-11-24 15:22 ` Vinod Koul
2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
3 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-11-21 11:04 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]
Hi Bjorn,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linux/master linus/master v5.10-rc4 next-20201120]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Bjorn-Andersson/arm64-dts-qcom-sm8150-Add-wifi-node/20201121-140010
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-randconfig-r006-20201120 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/892f75ac004a67158a4f58a4a1356595f853605a
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Bjorn-Andersson/arm64-dts-qcom-sm8150-Add-wifi-node/20201121-140010
git checkout 892f75ac004a67158a4f58a4a1356595f853605a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ERROR: Input tree has errors, aborting (use -f to force output)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 45162 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node
2020-11-21 5:58 [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Bjorn Andersson
2020-11-21 5:58 ` [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node Bjorn Andersson
2020-11-21 11:04 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node kernel test robot
@ 2020-11-24 15:22 ` Vinod Koul
2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
3 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2020-11-24 15:22 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Andy Gross, Rob Herring, linux-arm-msm, devicetree, linux-kernel
On 20-11-20, 21:58, Bjorn Andersson wrote:
> From: Jonathan Marek <jonathan@marek.ca>
>
> Add a node for the WCN3990 WiFi module.
Reviewed-by: Vinod Koul <vkoul@kernel.org>
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node
2020-11-21 5:58 ` [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node Bjorn Andersson
@ 2020-11-24 15:22 ` Vinod Koul
0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2020-11-24 15:22 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Andy Gross, Rob Herring, linux-arm-msm, devicetree, linux-kernel
On 20-11-20, 21:58, Bjorn Andersson wrote:
> From: Jonathan Marek <jonathan@marek.ca>
>
> Enable the WiFi node and specify its supply regulators.
Reviewed-by: Vinod Koul <vkoul@kernel.org>
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node
2020-11-21 5:58 [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Bjorn Andersson
` (2 preceding siblings ...)
2020-11-24 15:22 ` Vinod Koul
@ 2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
3 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2020-11-24 15:40 UTC (permalink / raw)
To: Bjorn Andersson; +Cc: linux-arm-msm
Hello:
This series was applied to qcom/linux.git (refs/heads/for-next):
On Fri, 20 Nov 2020 21:58:07 -0800 you wrote:
> From: Jonathan Marek <jonathan@marek.ca>
>
> Add a node for the WCN3990 WiFi module.
>
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> [bjorn: Extracted patch from larger "misc" patch, added qdss clock]
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>
> [...]
Here is the summary with links:
- [1/2] arm64: dts: qcom: sm8150: Add wifi node
https://git.kernel.org/qcom/c/05090bb9e53d
- [2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node
https://git.kernel.org/qcom/c/c5a0609b064c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-24 15:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 5:58 [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Bjorn Andersson
2020-11-21 5:58 ` [PATCH 2/2] arm64: dts: qcom: sm8150-mtp: Enable WiFi node Bjorn Andersson
2020-11-24 15:22 ` Vinod Koul
2020-11-21 11:04 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node kernel test robot
2020-11-24 15:22 ` Vinod Koul
2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
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.