Skip to contentSkip to conversation

dt: bindings: add bindings for msa memory region

PATCH Superseded Govind Singh 3 participants 4 messages Jul 6, 2018 – Jul 23, 2018

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/6 dt: bindings: add bindings for msa memory region

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

---
 .../bindings/net/wireless/qcom,ath10k.txt           | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +13 -0
index 7fd4e8ce4149..87489054aea5 100644
@@ -57,6 +57,16 @@ Optional properties:
 - <supply-name>-supply: handle to the regulator device tree node
 			   optional "supply-name" is "vdd-0.8-cx-mx".
 
+= SUBNODES:
+wcn3990-wifi node may contain one subnode, named "msa" representing
+the fixed msa memory regions used by the wifi firmware running in Q6.
+This sub-node must contain:
+
+- memory-region:
+	Usage: required
+	Value type: <phandle>
+	Definition: reference to the reserved-memory for the region
+
 Example (to supply the calibration data alone):
 
 In this example, the node is defined as child node of the PCI controller.
@@ -149,4 +159,7 @@ wifi@18000000 {
 			   <0 140 0 /* CE10 */ >,
 			   <0 141 0 /* CE11 */ >;
 		vdd-0.8-cx-mx-supply = <&pm8998_l5>;
+		msa {
+			memory-region = <&wifi_msa_mem>;
+		};
 };
Signature · 1 line
2.17.0
#1 lore raw

On Fri, Jul 06, 2018 at 02:30:43PM +0530, Govind Singh wrote:
[snip]

You still don't quite have the threading right on this series. All the other patches seem OK -- they have this in the header, which links them to the cover letter:

In-Reply-To: <[email protected]>
References: <[email protected]>

But you seem to have missed that on this one patch for some reason.

Brian

maintainer
#2 lore raw
In reply to Govind Singh
Quoted 14 lines · Govind Singh

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

---
 .../bindings/net/wireless/qcom,ath10k.txt           | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +0 -0
index 7fd4e8ce4149..87489054aea5 100644

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt Optional properties: · line 63

Quoted 7 lines
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +4 -0
@@ -57,6 +57,16 @@ Optional properties:
 - <supply-name>-supply: handle to the regulator device tree node
 			   optional "supply-name" is "vdd-0.8-cx-mx".
 
+= SUBNODES:
+wcn3990-wifi node may contain one subnode, named "msa" representing
+the fixed msa memory regions used by the wifi firmware running in Q6.
+This sub-node must contain:

Why do you need a sub-node? Just add memory-region property.

Quoted 24 lines
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +9 -0
+
+- memory-region:
+	Usage: required
+	Value type: <phandle>
+	Definition: reference to the reserved-memory for the region
+
 Example (to supply the calibration data alone):
 
 In this example, the node is defined as child node of the PCI controller.
@@ -149,4 +159,7 @@ wifi@18000000 {
 			   <0 140 0 /* CE10 */ >,
 			   <0 141 0 /* CE11 */ >;
 		vdd-0.8-cx-mx-supply = <&pm8998_l5>;
+		msa {
+			memory-region = <&wifi_msa_mem>;
+		};
 };
Signature · 6 lines
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

Hi Rob,

Quoted 19 lines · Rob Herring
Quoted 18 lines · Govind Singh

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

---
 .../bindings/net/wireless/qcom,ath10k.txt           | 13 
+++++++++++++
 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +0 -0
index 7fd4e8ce4149..87489054aea5 100644
@@ -57,6 +57,16 @@ Optional properties:
 - <supply-name>-supply: handle to the regulator device tree node
 			   optional "supply-name" is "vdd-0.8-cx-mx".
 
Quoted 7 lines

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt Optional properties: · line 63

Quoted 4 lines
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +4 -0
+= SUBNODES:
+wcn3990-wifi node may contain one subnode, named "msa" representing
+the fixed msa memory regions used by the wifi firmware running in Q6.
+This sub-node must contain:

Why do you need a sub-node? Just add memory-region property.

Fixed in v4 version.

Thanks,
Govind