Commit 3d0e375b authored by Vijaya Krishna Nivarthi's avatar Vijaya Krishna Nivarthi Committed by Bjorn Andersson

arm64: dts: qcom: sc7280-qcard: Configure CTS pin to bias-bus-hold for bluetooth

WLAN rail was leaking power during RBSC/sleep even after turning BT off.
Change active and sleep pinctrl configurations to handle same.
Signed-off-by: default avatarVijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1650556567-4995-3-git-send-email-quic_vnivarth@quicinc.com
parent 497b2727
......@@ -398,8 +398,14 @@ &qup_i2c13_data_clk {
/* For mos_bt_uart */
&qup_uart7_cts {
/* Configure a pull-down on CTS to match the pull of the Bluetooth module. */
bias-pull-down;
/*
* Configure a bias-bus-hold on CTS to lower power
* usage when Bluetooth is turned off. Bus hold will
* maintain a low power state regardless of whether
* the Bluetooth module drives the pin in either
* direction or leaves the pin fully unpowered.
*/
bias-bus-hold;
};
/* For mos_bt_uart */
......@@ -490,10 +496,13 @@ qup_uart7_sleep_cts: qup-uart7-sleep-cts {
pins = "gpio28";
function = "gpio";
/*
* Configure a pull-down on CTS to match the pull of
* the Bluetooth module.
* Configure a bias-bus-hold on CTS to lower power
* usage when Bluetooth is turned off. Bus hold will
* maintain a low power state regardless of whether
* the Bluetooth module drives the pin in either
* direction or leaves the pin fully unpowered.
*/
bias-pull-down;
bias-bus-hold;
};
/* For mos_bt_uart */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment