Skip to contentSkip to conversation

dt: bindings: add bindings for ath10k qmi client

PATCH In review Govind Singh 2 participants 2 messages Mar 26, 2018 – May 11, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/12 dt: bindings: add bindings for ath10k qmi client

Add device tree binding documentation details for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt".

---
 Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +8 -0
index 34e4f98..8076ae3 100644
@@ -5,6 +5,7 @@ Required properties:
 	* "qcom,ath10k"
 	* "qcom,ipq4019-wifi"
 	* "qcom,wcn3990-wifi"
+	* "qcom,ath10k-qmi"
 
 PCI based devices uses compatible string "qcom,ath10k" and takes calibration
 data along with board specific data via "qcom,ath10k-calibration-data".
@@ -21,6 +22,8 @@ can be provided per device.
 
 SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi".
 
+- qcom,wlan-msa-memory: MSA memory size
+
 Optional properties:
 - reg: Address and length of the register set for the device.
 - reg-names: Must include the list of following reg names,
@@ -150,3 +153,8 @@ qcom,wifi@18000000 {
 			   <0 141 0 /* CE11 */ >;
 		vdd-0.8-cx-mx-supply = <&pm8998_l5>;
 };
+
+qcom,ath10k-qmi {
+	compatible = "qcom,ath10k-qmi";
+	qcom,wlan-msa-memory = <0x100000>;
+};
Signature · 1 line
1.9.1
#1 lore raw
Quoted 30 lines · Govind Singh

Add device tree binding documentation details for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt".

---
 Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +3 -0
index 34e4f98..8076ae3 100644
@@ -5,6 +5,7 @@ Required properties:
 	* "qcom,ath10k"
 	* "qcom,ipq4019-wifi"
 	* "qcom,wcn3990-wifi"
+	* "qcom,ath10k-qmi"
 
 PCI based devices uses compatible string "qcom,ath10k" and takes calibration
 data along with board specific data via "qcom,ath10k-calibration-data".
@@ -21,6 +22,8 @@ can be provided per device.
 
 SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi".
 
+- qcom,wlan-msa-memory: MSA memory size
+
 Optional properties:
 - reg: Address and length of the register set for the device.
 - reg-names: Must include the list of following reg names,

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt qcom,wifi@18000000 { · line 159

Quoted 7 lines
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +4 -0
@@ -150,3 +153,8 @@ qcom,wifi@18000000 {
 			   <0 141 0 /* CE11 */ >;
 		vdd-0.8-cx-mx-supply = <&pm8998_l5>;
 };
+
+qcom,ath10k-qmi {
+	compatible = "qcom,ath10k-qmi";
+	qcom,wlan-msa-memory = <0x100000>;

Is this a complete example for what's needed to get working WiFi?

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt qcom,wifi@18000000 { · line 160

Quoted 1 line
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +1 -0
+};

Regards,
Bjorn