[02/12] dt: bindings: add bindings for ath10k qmi client
diff mbox

Message ID 1522042748-25677-1-git-send-email-govinds@codeaurora.org
State New
Headers show

Commit Message

Govind Singh March 26, 2018, 5:39 a.m. UTC
Add device tree binding documentation details for ath10k
qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt".

Signed-off-by: Govind Singh <govinds@codeaurora.org>
---
 Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Bjorn Andersson May 11, 2018, 5:11 p.m. UTC | #1
On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote:

> Add device tree binding documentation details for ath10k
> qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt".
> 
> Signed-off-by: Govind Singh <govinds@codeaurora.org>
> ---
>  Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
> index 34e4f98..8076ae3 100644
> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
> @@ -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>;

Is this a complete example for what's needed to get working WiFi?
> +};

Regards,
Bjorn

Patch
diff mbox

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
index 34e4f98..8076ae3 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
@@ -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>;
+};