Skip to content

Commit

Permalink
arm64: dts: qcom: sc7280-qcard: Configure CTS pin to bias-bus-hold fo…
Browse files Browse the repository at this point in the history
…r 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: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1650556567-4995-3-git-send-email-quic_vnivarth@quicinc.com
  • Loading branch information
Vijaya Krishna Nivarthi authored and Bjorn Andersson committed May 3, 2022
1 parent 497b272 commit 3d0e375
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,14 @@ mos_bt_uart: &uart7 {

/* 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 */
Expand Down Expand Up @@ -490,10 +496,13 @@ mos_bt_uart: &uart7 {
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 */
Expand Down

0 comments on commit 3d0e375

Please sign in to comment.