linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ 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] 5+ 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-24 15:22 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Vinod Koul
  2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
  2 siblings, 1 reply; 5+ 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] 5+ 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-24 15:22 ` Vinod Koul
  2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
  2 siblings, 0 replies; 5+ 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] 5+ 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; 5+ 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] 5+ 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-24 15:22 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Vinod Koul
@ 2020-11-24 15:40 ` patchwork-bot+linux-arm-msm
  2 siblings, 0 replies; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2020-11-24 15:40 UTC | newest]

Thread overview: 5+ 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-24 15:22 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add wifi node Vinod Koul
2020-11-24 15:40 ` patchwork-bot+linux-arm-msm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).