dt-bindings: ath10k: Add new dt entries to identify coex support
authorTamizh Chelvam <tamizhr@codeaurora.org>
Mon, 27 Jan 2020 19:18:55 +0000 (00:48 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 11 Feb 2020 14:22:37 +0000 (16:22 +0200)
This adds new dt entries qcom,coexist-support and qcom,coexist-gpio-pin
which will be used by ath10k driver to identify coex support
of a hardware and notify wifi firmware the gpio pin number.
This pin number information is needed for the hardware QCA4019.

Signed-off-by: Tamizh Chelvam <tamizhr@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt

index 616c877..71bf91f 100644 (file)
@@ -91,6 +91,11 @@ Optional properties:
 - qcom,msa-fixed-perm: Boolean context flag to disable SCM call for statically
                       mapped msa region.
 
+- qcom,coexist-support : should contain eithr "0" or "1" to indicate coex
+                        support by the hardware.
+- qcom,coexist-gpio-pin : gpio pin number  information to support coex
+                         which will be used by wifi firmware.
+
 Example (to supply PCI based wifi block details):
 
 In this example, the node is defined as child node of the PCI controller.
@@ -159,6 +164,8 @@ wifi0: wifi@a000000 {
        qcom,msi_addr = <0x0b006040>;
        qcom,msi_base = <0x40>;
        qcom,ath10k-pre-calibration-data = [ 01 02 03 ... ];
+       qcom,coexist-support = <1>;
+       qcom,coexist-gpio-pin = <0x33>;
 };
 
 Example (to supply wcn3990 SoC wifi block details):