From 1821f82015638579535f5ad297e6de3c02e66551 Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Sharma Date: Thu, 24 Sep 2020 15:13:50 -0700 Subject: [PATCH] ARM: dts: msm: add WL_EN entry in BT node Add WL_EN GPIO entry in BT device tree node to handle AON LDO fully discharge issue. Change-Id: I526d42fb58fef7942280c4fc06ded5a47f7277dd --- bindings/bluetooth/btpower.txt | 2 ++ qcom/lahaina.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/bindings/bluetooth/btpower.txt b/bindings/bluetooth/btpower.txt index 8b7d10bda475..391361eef201 100644 --- a/bindings/bluetooth/btpower.txt +++ b/bindings/bluetooth/btpower.txt @@ -11,6 +11,7 @@ Required properties: qcom,qca6390 qcom,qca6490 - qcom,bt-reset-gpio: GPIO pin to bring BT Controller out of reset + - qcom,wl-reset-gpio: GPIO pin for WL_EN toggle Optional properties: - qcom,bt-vdd-pa-supply: Bluetooth VDD PA regulator handle @@ -38,6 +39,7 @@ Example: pinctrl-names = "default"; pinctrl-0 = <&bt_en_sleep>; qcom,bt-reset-gpio = <&tlmm 21 0>; /* BT_EN */ + qcom,wl-reset-gpio = <&tlmm 64 0>; /* WL_EN */ qcom,bt-vdd-aon-supply = <&pm8150_s6>; qcom,bt-vdd-dig-supply = <&pm8009_s2>; qcom,bt-vdd-rfa1-supply = <&pm8150_s5>; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 182e5335c125..fcf628bce58b 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5615,6 +5615,7 @@ /* offset=(0xC8*6) + (0x10*2) */ qcom,tcs_offset_ipa = <0x4D0>; qcom,bt-reset-gpio = <&tlmm 65 0>; /* BT_EN */ + qcom,wl-reset-gpio = <&tlmm 64 0>; /* WL_EN */ qcom,bt-sw-ctrl-gpio = <&tlmm 153 0>; /* SW_CTRL */ qcom,bt-vdd-aon-supply = <&S11B>; qcom,bt-vdd-dig-supply = <&S11B>;