* [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
@ 2022-04-06 7:15 Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 1/3] " Vijaya Krishna Nivarthi
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-04-06 7:15 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, krzysztof.kozlowski+dt,
linux-arm-msm, devicetree, linux-kernel
Cc: quic_msavaliy, dianders, Vijaya Krishna Nivarthi
WLAN rail was leaking power during RBSC/sleep even after turning BT off.
Change sleep pinctrl configuration to handle same.
---
v3: apply same change to active state and other sc7280*.dts* as well
v2: used bias-bus-hold as per review comments
v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
---
Vijaya Krishna Nivarthi (3):
arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts | 12 ++++++------
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 12 ++++++------
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 13 ++++++++-----
3 files changed, 20 insertions(+), 17 deletions(-)
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [V3 1/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
2022-04-06 7:15 [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Vijaya Krishna Nivarthi
@ 2022-04-06 7:16 ` Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 2/3] " Vijaya Krishna Nivarthi
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-04-06 7:16 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, krzysztof.kozlowski+dt,
linux-arm-msm, devicetree, linux-kernel
Cc: quic_msavaliy, dianders, Vijaya Krishna Nivarthi
WLAN rail was leaking power during RBSC/sleep even after turning BT off.
Change sleep pinctrl configuration to handle same.
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
---
v3: apply same change to active state and other sc7280*.dts* as well
v2: used bias-bus-hold as per review comments
v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
---
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
index ecbf2b8..bddee8b 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
@@ -400,10 +400,10 @@
&qup_uart7_cts {
/*
- * 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 BT is turned off.
*/
- bias-pull-down;
+ bias-bus-hold;
};
&qup_uart7_rts {
@@ -495,10 +495,10 @@
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 BT is turned off.
*/
- bias-pull-down;
+ bias-bus-hold;
};
qup_uart7_sleep_rts: qup-uart7-sleep-rts {
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [V3 2/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
2022-04-06 7:15 [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 1/3] " Vijaya Krishna Nivarthi
@ 2022-04-06 7:16 ` Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 3/3] " Vijaya Krishna Nivarthi
2022-04-06 15:04 ` [V3 0/3] " Doug Anderson
3 siblings, 0 replies; 6+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-04-06 7:16 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, krzysztof.kozlowski+dt,
linux-arm-msm, devicetree, linux-kernel
Cc: quic_msavaliy, dianders, Vijaya Krishna Nivarthi
WLAN rail was leaking power during RBSC/sleep even after turning BT off.
Change sleep pinctrl configuration to handle same.
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
---
v3: apply same change to active state and other sc7280*.dts* as well
v2: used bias-bus-hold as per review comments
v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
---
arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts
index 1779d96..eb43ce5 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts
@@ -859,10 +859,10 @@ ap_ec_spi: &spi8 {
&qup_uart7_cts {
/*
- * 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 BT is turned off.
*/
- bias-pull-down;
+ bias-bus-hold;
};
&qup_uart7_rts {
@@ -1267,10 +1267,10 @@ ap_ec_spi: &spi8 {
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 BT is turned off.
*/
- bias-pull-down;
+ bias-bus-hold;
};
qup_uart7_sleep_rts: qup-uart7-sleep-rts {
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [V3 3/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
2022-04-06 7:15 [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 1/3] " Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 2/3] " Vijaya Krishna Nivarthi
@ 2022-04-06 7:16 ` Vijaya Krishna Nivarthi
2022-04-06 15:04 ` [V3 0/3] " Doug Anderson
3 siblings, 0 replies; 6+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-04-06 7:16 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, krzysztof.kozlowski+dt,
linux-arm-msm, devicetree, linux-kernel
Cc: quic_msavaliy, dianders, Vijaya Krishna Nivarthi
WLAN rail was leaking power during RBSC/sleep even after turning BT off.
Change sleep pinctrl configuration to handle same.
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
---
v3: apply same change to active state and other sc7280*.dts* as well
v2: used bias-bus-hold as per review comments
v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
---
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
index b833ba1..602ebd4 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
@@ -398,8 +398,11 @@ 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 BT is turned off.
+ */
+ bias-bus-hold;
};
/* For mos_bt_uart */
@@ -490,10 +493,10 @@ 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 BT is turned off.
*/
- bias-pull-down;
+ bias-bus-hold;
};
/* For mos_bt_uart */
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
2022-04-06 7:15 [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Vijaya Krishna Nivarthi
` (2 preceding siblings ...)
2022-04-06 7:16 ` [V3 3/3] " Vijaya Krishna Nivarthi
@ 2022-04-06 15:04 ` Doug Anderson
2022-04-09 0:18 ` Bjorn Andersson
3 siblings, 1 reply; 6+ messages in thread
From: Doug Anderson @ 2022-04-06 15:04 UTC (permalink / raw)
To: Vijaya Krishna Nivarthi
Cc: Andy Gross, Bjorn Andersson, Rob Herring, krzysztof.kozlowski+dt,
linux-arm-msm,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
quic_msavaliy
Hi,
On Wed, Apr 6, 2022 at 12:16 AM Vijaya Krishna Nivarthi
<quic_vnivarth@quicinc.com> wrote:
>
> WLAN rail was leaking power during RBSC/sleep even after turning BT off.
> Change sleep pinctrl configuration to handle same.
>
> ---
> v3: apply same change to active state and other sc7280*.dts* as well
> v2: used bias-bus-hold as per review comments
> v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
> ---
>
> Vijaya Krishna Nivarthi (3):
> arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
> arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
> arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
>
> arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts | 12 ++++++------
> arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 12 ++++++------
> arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 13 ++++++++-----
> 3 files changed, 20 insertions(+), 17 deletions(-)
Probably the subject of all the patches should be modified to talk
about what each patch is applying to. Having 3 identically named
patches is not ideal.
I'll let Bjorn chime in on whether he'd rather adjust the subject
himself or whether he'd rather you re-send. In any case, with the
subject modified then for all 3 patches:
Reviewed-by: Douglas Anderson <dianders@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
2022-04-06 15:04 ` [V3 0/3] " Doug Anderson
@ 2022-04-09 0:18 ` Bjorn Andersson
0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2022-04-09 0:18 UTC (permalink / raw)
To: Doug Anderson
Cc: Vijaya Krishna Nivarthi, Andy Gross, Rob Herring,
krzysztof.kozlowski+dt, linux-arm-msm,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
quic_msavaliy
On Wed 06 Apr 10:04 CDT 2022, Doug Anderson wrote:
> Hi,
>
> On Wed, Apr 6, 2022 at 12:16 AM Vijaya Krishna Nivarthi
> <quic_vnivarth@quicinc.com> wrote:
> >
> > WLAN rail was leaking power during RBSC/sleep even after turning BT off.
> > Change sleep pinctrl configuration to handle same.
> >
> > ---
> > v3: apply same change to active state and other sc7280*.dts* as well
> > v2: used bias-bus-hold as per review comments
> > v1: intial patch used bias-disable for sleep pinctrl in sc7280-idp only
> > ---
> >
> > Vijaya Krishna Nivarthi (3):
> > arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
> > arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
> > arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold
> >
> > arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts | 12 ++++++------
> > arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 12 ++++++------
> > arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 13 ++++++++-----
> > 3 files changed, 20 insertions(+), 17 deletions(-)
>
> Probably the subject of all the patches should be modified to talk
> about what each patch is applying to. Having 3 identically named
> patches is not ideal.
>
> I'll let Bjorn chime in on whether he'd rather adjust the subject
> himself or whether he'd rather you re-send. In any case, with the
> subject modified then for all 3 patches:
>
I've been fixing up a ton of these during the last few releases, so I
think it's time that I stop doing that.
Please resubmit this with subject prefixes that matches the existing git
log for each change.
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
Thanks,
Bjorn
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-09 0:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 7:15 [V3 0/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 1/3] " Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 2/3] " Vijaya Krishna Nivarthi
2022-04-06 7:16 ` [V3 3/3] " Vijaya Krishna Nivarthi
2022-04-06 15:04 ` [V3 0/3] " Doug Anderson
2022-04-09 0:18 ` Bjorn Andersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.