From 669c736845aaaf71c6539d77cd509dd76ab64c46 Mon Sep 17 00:00:00 2001 From: Manikandan Mohan Date: Thu, 3 Dec 2020 11:19:42 -0800 Subject: [PATCH] ARM: dts: msm: Add support for qca6490 xo clk gpio QCA6490 needs XO clock selection gpio for leakage prevention. Add GPIO configuration in cnss device tree node. Change-Id: I827f7335cf5b507c04d286b9bd7e3bcb95c071ed --- bindings/cnss/cnss-wlan.txt | 1 + qcom/lahaina-cdp-hsp-pro.dtsi | 4 ++++ qcom/lahaina-mtp-hsp-pro.dtsi | 4 ++++ qcom/lahaina-qrd-hsp-pro.dtsi | 4 ++++ 4 files changed, 13 insertions(+) diff --git a/bindings/cnss/cnss-wlan.txt b/bindings/cnss/cnss-wlan.txt index 5a77cba316b3..f9ab0e0b90a4 100644 --- a/bindings/cnss/cnss-wlan.txt +++ b/bindings/cnss/cnss-wlan.txt @@ -91,6 +91,7 @@ Optional properties: - qcom,bt-en-gpio: QCA6490 requires synchronization for BT and WLAN GPIO 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. Example: diff --git a/qcom/lahaina-cdp-hsp-pro.dtsi b/qcom/lahaina-cdp-hsp-pro.dtsi index e8144ecd531b..a2d3fbde299b 100644 --- a/qcom/lahaina-cdp-hsp-pro.dtsi +++ b/qcom/lahaina-cdp-hsp-pro.dtsi @@ -3,3 +3,7 @@ pinctrl-1 = <&wcnss_en_sleep>; qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */ }; + +&wlan { + qcom,xo-clk-gpio = <&tlmm 201 0>; +}; diff --git a/qcom/lahaina-mtp-hsp-pro.dtsi b/qcom/lahaina-mtp-hsp-pro.dtsi index a4949402b4b8..391fe755a38c 100644 --- a/qcom/lahaina-mtp-hsp-pro.dtsi +++ b/qcom/lahaina-mtp-hsp-pro.dtsi @@ -3,3 +3,7 @@ pinctrl-1 = <&wcnss_en_sleep>; qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */ }; + +&wlan { + qcom,xo-clk-gpio = <&tlmm 201 0>; +}; diff --git a/qcom/lahaina-qrd-hsp-pro.dtsi b/qcom/lahaina-qrd-hsp-pro.dtsi index cc529f0f8c8c..90755d78783b 100644 --- a/qcom/lahaina-qrd-hsp-pro.dtsi +++ b/qcom/lahaina-qrd-hsp-pro.dtsi @@ -3,3 +3,7 @@ pinctrl-1 = <&wcnss_en_sleep>; qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */ }; + +&wlan { + qcom,xo-clk-gpio = <&tlmm 201 0>; +};