diff mbox series

[1/2] dt: bindings: net: add bindings to add WoW support for WCN6750

Message ID 1643261093-12400-2-git-send-email-quic_mpubbise@quicinc.com
State Superseded
Headers show
Series Add WoW support for WCN6750 | expand

Commit Message

Manikanta Pubbisetty Jan. 27, 2022, 5:24 a.m. UTC
Add required bindings to support WoW (Wake on Wireless) for
WCN6750 used by ATH11K driver.

Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>
---
 .../devicetree/bindings/net/wireless/qcom,ath11k.yaml   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Kalle Valo Feb. 1, 2022, 11:11 a.m. UTC | #1
Manikanta Pubbisetty <quic_mpubbise@quicinc.com> wrote:

> Add required bindings to support WoW (Wake on Wireless) for
> WCN6750 used by ATH11K driver.
> 
> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>

Please resend once all dependencies are in ath tree.

2 patches set to Changes Requested.

12726278 [1/2] dt: bindings: net: add bindings to add WoW support for WCN6750
12726277 [2/2] ath11k: Add WoW support for WCN6750
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index dba1434..aead001 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -71,6 +71,14 @@  properties:
     required:
       - iommus
 
+  qcom,smem-states:
+    $ref: /schemas/types.yaml#/definitions/phandle-array
+    description: State bits used in WCN6750 to signal the firmware
+                 to exit from WoW.
+
+  qcom,smem-state-names:
+    description: The names of the state bits used for SMP2P output
+
 required:
   - compatible
   - reg
@@ -415,6 +423,13 @@  examples:
         };
     };
 
+    smp2p-wpss {
+        wlan_smp2p_out: wlan_smp2p_out {
+                qcom,entry-name = "wlan";
+                #qcom,smem-state-cells = <1>;
+        };
+    };
+
     wifi: wifi@17a10040 {
         compatible = "qcom,wcn6750-wifi";
         reg = <0x17A10040 0x0>;
@@ -454,6 +469,8 @@  examples:
                      <GIC_SPI 799 IRQ_TYPE_EDGE_RISING>;
         qcom,rproc = <&remoteproc_wpss>;
         memory-region = <&wlan_fw_mem &wlan_ce_mem>;
+        qcom,smem-states = <&wlan_smp2p_out 0>;
+        qcom,smem-state-names = "wlan-smp2p-out";
         wifi-firmware {
                 iommus = <&apps_smmu 0x1C02 0x1>;
         };