ARM: dts: msm: Config sleep state for wlan bootstrap pin for msm8996

Configure the sleep state for the wlan bootstrap pin for
msm8996. This configuration helps in power saving during
device sleep state.

CRs-Fixed: 1040537
Change-Id: Ia35f8bba901826b55722cb140c953f32b18610de
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
This commit is contained in:
Sarada Prasanna Garnayak 2016-07-12 15:20:27 +05:30 committed by Yue Ma
parent b094306e99
commit 45bdc1b602
2 changed files with 18 additions and 3 deletions

View file

@ -1449,7 +1449,7 @@
};
cnss_pins {
cnss_default: cnss_default {
cnss_bootstrap_active: cnss_bootstrap_active {
mux {
pins = "gpio46";
function = "gpio";
@ -1458,6 +1458,20 @@
config {
pins = "gpio46";
drive-strength = <16>;
output-high;
bias-pull-up;
};
};
cnss_bootstrap_sleep: cnss_bootstrap_sleep {
mux {
pins = "gpio46";
function = "gpio";
};
config {
pins = "gpio46";
drive-strength = <2>;
output-low;
bias-pull-down;
};
};

View file

@ -2343,8 +2343,9 @@
wlan-ant-switch-supply = <&pm8994_l18_pin_ctrl>;
qcom,wlan-en-vreg-support;
qcom,notify-modem-status;
pinctrl-names = "default";
pinctrl-0 = <&cnss_default>;
pinctrl-names = "bootstrap_active", "bootstrap_sleep";
pinctrl-0 = <&cnss_bootstrap_active>;
pinctrl-1 = <&cnss_bootstrap_sleep>;
qcom,wlan-rc-num = <0>;
qcom,wlan-ramdump-dynamic = <0x200000>;