All of lore.kernel.org
 help / color / mirror / Atom feed
From: tamizhchelvam@codeaurora.org
To: agross@codeaurora.org, devicetree@vger.kernel.org
Cc: linux-arm-msm@vger.kernel.org, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org, ath10k@lists.infradead.org,
	c_traja@qti.qualcomm.com, Raja Mani <rmani@codeaurora.org>,
	Tamizh chelvam <tamizhchelvam@codeaurora.org>
Subject: [PATCH v2] qcom: ipq4019: add wifi nodes to ipq4019 SoC device tree
Date: Tue, 12 Apr 2016 09:48:06 +0530	[thread overview]
Message-ID: <1460434686-23010-1-git-send-email-tamizhchelvam@codeaurora.org> (raw)

From: Raja Mani <rmani@codeaurora.org>

Include dts support for two wifi block present on ipq4019 SoC.
Corresponding dt binding documentation has been added in ath.git as below
commit id a47aaa69 and the commit message is
"dt: bindings: add new dt entry for pre calibration in qcom, ath10k.txt".

Signed-off-by: Raja Mani <rmani@codeaurora.org>
Signed-off-by: Tamizh chelvam <tamizhchelvam@codeaurora.org>
---
v2:

  - Fixed Commit log
  - Added new Signed off

 arch/arm/boot/dts/qcom-ipq4019.dtsi |   98 +++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index b486859..80bbe02 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -379,5 +379,103 @@
 			compatible = "qcom,pshold";
 			reg = <0x4ab000 0x4>;
 		};
+
+		wifi0: wifi@a000000 {
+			compatible = "qcom,ipq4019-wifi";
+			reg = <0xa000000 0x200000>;
+			resets = <&gcc WIFI0_CPU_INIT_RESET>,
+				 <&gcc WIFI0_RADIO_SRIF_RESET>,
+				 <&gcc WIFI0_RADIO_WARM_RESET>,
+				 <&gcc WIFI0_RADIO_COLD_RESET>,
+				 <&gcc WIFI0_CORE_WARM_RESET>,
+				 <&gcc WIFI0_CORE_COLD_RESET>;
+			reset-names = "wifi_cpu_init",
+				      "wifi_radio_srif",
+				      "wifi_radio_warm",
+				      "wifi_radio_cold",
+				      "wifi_core_warm",
+				      "wifi_core_cold";
+			clocks = <&gcc GCC_WCSS2G_CLK>,
+				 <&gcc GCC_WCSS2G_REF_CLK>,
+				 <&gcc GCC_WCSS2G_RTC_CLK>;
+			clock-names = "wifi_wcss_cmd",
+				      "wifi_wcss_ref",
+				      "wifi_wcss_rtc";
+			interrupts = <0 0x20 0x1>,
+				     <0 0x21 0x1>,
+				     <0 0x22 0x1>,
+				     <0 0x23 0x1>,
+				     <0 0x24 0x1>,
+				     <0 0x25 0x1>,
+				     <0 0x26 0x1>,
+				     <0 0x27 0x1>,
+				     <0 0x28 0x1>,
+				     <0 0x29 0x1>,
+				     <0 0x2a 0x1>,
+				     <0 0x2b 0x1>,
+				     <0 0x2c 0x1>,
+				     <0 0x2d 0x1>,
+				     <0 0x2e 0x1>,
+				     <0 0x2f 0x1>,
+				     <0 0xa8 0x0>;
+			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
+					  "msi4",  "msi5",  "msi6",  "msi7",
+					  "msi8",  "msi9",  "msi10", "msi11",
+					  "msi12", "msi13", "msi14", "msi15",
+					  "legacy";
+			status = "disabled";
+			qcom,msi_addr = <0x0b006040>;
+			qcom,msi_base = <0x40>;
+			qcom,ath10k-pre-calibration-data = [00];
+		};
+
+		wifi1: wifi@a800000 {
+			compatible = "qcom,ipq4019-wifi";
+			reg = <0xa800000 0x200000>;
+			resets = <&gcc WIFI1_CPU_INIT_RESET>,
+				 <&gcc WIFI1_RADIO_SRIF_RESET>,
+				 <&gcc WIFI1_RADIO_WARM_RESET>,
+				 <&gcc WIFI1_RADIO_COLD_RESET>,
+				 <&gcc WIFI1_CORE_WARM_RESET>,
+				 <&gcc WIFI1_CORE_COLD_RESET>;
+			reset-names = "wifi_cpu_init",
+				      "wifi_radio_srif",
+				      "wifi_radio_warm",
+				      "wifi_radio_cold",
+				      "wifi_core_warm",
+				      "wifi_core_cold";
+			clocks = <&gcc GCC_WCSS5G_CLK>,
+				 <&gcc GCC_WCSS5G_REF_CLK>,
+				 <&gcc GCC_WCSS5G_RTC_CLK>;
+			clock-names = "wifi_wcss_cmd",
+				      "wifi_wcss_ref",
+				      "wifi_wcss_rtc";
+			interrupts = <0 0x30 0x1>,
+				     <0 0x31 0x1>,
+				     <0 0x32 0x1>,
+				     <0 0x33 0x1>,
+				     <0 0x34 0x1>,
+				     <0 0x35 0x1>,
+				     <0 0x36 0x1>,
+				     <0 0x37 0x1>,
+				     <0 0x38 0x1>,
+				     <0 0x39 0x1>,
+				     <0 0x3a 0x1>,
+				     <0 0x3b 0x1>,
+				     <0 0x3c 0x1>,
+				     <0 0x3d 0x1>,
+				     <0 0x3e 0x1>,
+				     <0 0x3f 0x1>,
+				     <0 0xa9 0x0>;
+			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
+					  "msi4",  "msi5",  "msi6",  "msi7",
+					  "msi8",  "msi9",  "msi10", "msi11",
+					  "msi12", "msi13", "msi14", "msi15",
+					  "legacy";
+			status = "disabled";
+			qcom,msi_addr = <0x0b006040>;
+			qcom,msi_base = <0x50>;
+			qcom,ath10k-pre-calibration-data = [00];
+		};
 	};
 };
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: tamizhchelvam@codeaurora.org
To: agross@codeaurora.org, devicetree@vger.kernel.org
Cc: linux-arm-msm@vger.kernel.org, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org, ath10k@lists.infradead.org,
	c_traja@qti.qualcomm.com, Raja Mani <rmani@codeaurora.org>,
	Tamizh chelvam <tamizhchelvam@codeaurora.org>
Subject: [PATCH v2] qcom: ipq4019: add wifi nodes to ipq4019 SoC device tree
Date: Tue, 12 Apr 2016 09:48:06 +0530	[thread overview]
Message-ID: <1460434686-23010-1-git-send-email-tamizhchelvam@codeaurora.org> (raw)

From: Raja Mani <rmani@codeaurora.org>

Include dts support for two wifi block present on ipq4019 SoC.
Corresponding dt binding documentation has been added in ath.git as below
commit id a47aaa69 and the commit message is
"dt: bindings: add new dt entry for pre calibration in qcom, ath10k.txt".

Signed-off-by: Raja Mani <rmani@codeaurora.org>
Signed-off-by: Tamizh chelvam <tamizhchelvam@codeaurora.org>
---
v2:

  - Fixed Commit log
  - Added new Signed off

 arch/arm/boot/dts/qcom-ipq4019.dtsi |   98 +++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index b486859..80bbe02 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -379,5 +379,103 @@
 			compatible = "qcom,pshold";
 			reg = <0x4ab000 0x4>;
 		};
+
+		wifi0: wifi@a000000 {
+			compatible = "qcom,ipq4019-wifi";
+			reg = <0xa000000 0x200000>;
+			resets = <&gcc WIFI0_CPU_INIT_RESET>,
+				 <&gcc WIFI0_RADIO_SRIF_RESET>,
+				 <&gcc WIFI0_RADIO_WARM_RESET>,
+				 <&gcc WIFI0_RADIO_COLD_RESET>,
+				 <&gcc WIFI0_CORE_WARM_RESET>,
+				 <&gcc WIFI0_CORE_COLD_RESET>;
+			reset-names = "wifi_cpu_init",
+				      "wifi_radio_srif",
+				      "wifi_radio_warm",
+				      "wifi_radio_cold",
+				      "wifi_core_warm",
+				      "wifi_core_cold";
+			clocks = <&gcc GCC_WCSS2G_CLK>,
+				 <&gcc GCC_WCSS2G_REF_CLK>,
+				 <&gcc GCC_WCSS2G_RTC_CLK>;
+			clock-names = "wifi_wcss_cmd",
+				      "wifi_wcss_ref",
+				      "wifi_wcss_rtc";
+			interrupts = <0 0x20 0x1>,
+				     <0 0x21 0x1>,
+				     <0 0x22 0x1>,
+				     <0 0x23 0x1>,
+				     <0 0x24 0x1>,
+				     <0 0x25 0x1>,
+				     <0 0x26 0x1>,
+				     <0 0x27 0x1>,
+				     <0 0x28 0x1>,
+				     <0 0x29 0x1>,
+				     <0 0x2a 0x1>,
+				     <0 0x2b 0x1>,
+				     <0 0x2c 0x1>,
+				     <0 0x2d 0x1>,
+				     <0 0x2e 0x1>,
+				     <0 0x2f 0x1>,
+				     <0 0xa8 0x0>;
+			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
+					  "msi4",  "msi5",  "msi6",  "msi7",
+					  "msi8",  "msi9",  "msi10", "msi11",
+					  "msi12", "msi13", "msi14", "msi15",
+					  "legacy";
+			status = "disabled";
+			qcom,msi_addr = <0x0b006040>;
+			qcom,msi_base = <0x40>;
+			qcom,ath10k-pre-calibration-data = [00];
+		};
+
+		wifi1: wifi@a800000 {
+			compatible = "qcom,ipq4019-wifi";
+			reg = <0xa800000 0x200000>;
+			resets = <&gcc WIFI1_CPU_INIT_RESET>,
+				 <&gcc WIFI1_RADIO_SRIF_RESET>,
+				 <&gcc WIFI1_RADIO_WARM_RESET>,
+				 <&gcc WIFI1_RADIO_COLD_RESET>,
+				 <&gcc WIFI1_CORE_WARM_RESET>,
+				 <&gcc WIFI1_CORE_COLD_RESET>;
+			reset-names = "wifi_cpu_init",
+				      "wifi_radio_srif",
+				      "wifi_radio_warm",
+				      "wifi_radio_cold",
+				      "wifi_core_warm",
+				      "wifi_core_cold";
+			clocks = <&gcc GCC_WCSS5G_CLK>,
+				 <&gcc GCC_WCSS5G_REF_CLK>,
+				 <&gcc GCC_WCSS5G_RTC_CLK>;
+			clock-names = "wifi_wcss_cmd",
+				      "wifi_wcss_ref",
+				      "wifi_wcss_rtc";
+			interrupts = <0 0x30 0x1>,
+				     <0 0x31 0x1>,
+				     <0 0x32 0x1>,
+				     <0 0x33 0x1>,
+				     <0 0x34 0x1>,
+				     <0 0x35 0x1>,
+				     <0 0x36 0x1>,
+				     <0 0x37 0x1>,
+				     <0 0x38 0x1>,
+				     <0 0x39 0x1>,
+				     <0 0x3a 0x1>,
+				     <0 0x3b 0x1>,
+				     <0 0x3c 0x1>,
+				     <0 0x3d 0x1>,
+				     <0 0x3e 0x1>,
+				     <0 0x3f 0x1>,
+				     <0 0xa9 0x0>;
+			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
+					  "msi4",  "msi5",  "msi6",  "msi7",
+					  "msi8",  "msi9",  "msi10", "msi11",
+					  "msi12", "msi13", "msi14", "msi15",
+					  "legacy";
+			status = "disabled";
+			qcom,msi_addr = <0x0b006040>;
+			qcom,msi_base = <0x50>;
+			qcom,ath10k-pre-calibration-data = [00];
+		};
 	};
 };
-- 
1.7.9.5


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

             reply	other threads:[~2016-04-12  4:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  4:18 tamizhchelvam [this message]
2016-04-12  4:18 ` [PATCH v2] qcom: ipq4019: add wifi nodes to ipq4019 SoC device tree tamizhchelvam
2016-04-13 17:56 ` Stephen Boyd
2016-04-13 17:56   ` Stephen Boyd
2016-04-18 11:55   ` Tamizh chelvam
2016-04-18 11:55     ` Tamizh chelvam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460434686-23010-1-git-send-email-tamizhchelvam@codeaurora.org \
    --to=tamizhchelvam@codeaurora.org \
    --cc=agross@codeaurora.org \
    --cc=ath10k@lists.infradead.org \
    --cc=c_traja@qti.qualcomm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rmani@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.