ARM: dts: msm: Add entry to handle XO clock gpio

In order to avoid leakage, GPIO 201 mapped to XO clock
needs to be pulled high for 2 ms and pull it low to prevent
leakage. Add an entry for GPIO201 in lahaina pro overlay files.

Change-Id: I5311bf9bcd4bd624a46cce2a62ac65551fd76f06
This commit is contained in:
Mahesh Kumar Sharma 2020-12-03 16:18:33 -08:00 • committed by Gerrit - the friendly Code Review server
commit 00d232ff79
4 changed files with 26 additions and 0 deletions

View file

@ -1 +1,5 @@
#include "lahaina-cdp.dtsi"
&bluetooth {
pinctrl-1 = <&wcnss_en_sleep>;
qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};

View file

@ -1 +1,5 @@
#include "lahaina-mtp.dtsi"
&bluetooth {
pinctrl-1 = <&wcnss_en_sleep>;
qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};

View file

@ -13,6 +13,20 @@
};
};
wcnss_en_sleep: wcnss_en_sleep {
mux {
pins = "gpio201";
function = "gpio";
};
config {
pins = "gpio201";
drive-strength = <2>;
output-low;
bias-pull-down;
};
};
trigout_a: trigout_a {
mux {
pins = "gpio14";

View file

@ -1 +1,5 @@
#include "lahaina-qrd.dtsi"
&bluetooth {
pinctrl-1 = <&wcnss_en_sleep>;
qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};