From e4c9d897e20bb6dc8b2739205b47211bcff534e4 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Fri, 26 Mar 2021 14:37:44 +0530 Subject: [PATCH] ARM: dts: msm: Add switch control GPIO for WLAN Add SW_CTRL GPIO TLMM 153 in the CNSS node for WLAN device. Change-Id: Ic07c565e85c30796def08d8c3dd3784ae65fafc7 --- bindings/cnss/cnss-wlan.txt | 1 + qcom/lahaina.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/bindings/cnss/cnss-wlan.txt b/bindings/cnss/cnss-wlan.txt index 05e7db9fd7f5..deb8508b9a8e 100644 --- a/bindings/cnss/cnss-wlan.txt +++ b/bindings/cnss/cnss-wlan.txt @@ -94,6 +94,7 @@ Optional properties: enable to resolve PMU power up issues. Provide BT GPIO using this config param. - qcom,xo-clk-gpio: Added for QCA6490 XO CLK selection leakage prevention. + - qcom,sw-ctrl-gpio: Switch control GPIO for device power control - qcom,same-dt-multi-dev: Boolean property to decide whether it supports multiple WLAN devices using the same DT node without sub-nodes. diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 6700bdec8550..10768627ee74 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5386,6 +5386,7 @@ reg-names = "smmu_iova_ipa", "tcs_cmd"; wlan-en-gpio = <&tlmm 64 0>; qcom,bt-en-gpio = <&tlmm 65 0>; + qcom,sw-ctrl-gpio = <&tlmm 153 0>; pinctrl-names = "wlan_en_active", "wlan_en_sleep"; pinctrl-0 = <&cnss_wlan_en_active>; pinctrl-1 = <&cnss_wlan_en_sleep>;