Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1038619pxb; Wed, 6 Apr 2022 07:17:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxvLoc4Yvc1Sz04Rkj7wOZuHhEd7WgR8QL1TeaJfKEI/N3DGISY+GqkCDsfAQz14Oi+rCW X-Received: by 2002:a17:903:230a:b0:156:9c66:5cd2 with SMTP id d10-20020a170903230a00b001569c665cd2mr8652293plh.57.1649254622542; Wed, 06 Apr 2022 07:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649254622; cv=none; d=google.com; s=arc-20160816; b=L6uxCBalYmVonGHDi3W5NrjzbkUnT15hRtAmJGpFTzNfUz9hxSrNWk7Wj7PcAASDMy ZAO8d7knqiQqARikvjoO3ZcDrJShp9O+s76+4a/5LZnkesDdHyp6txnYsLvloBx3NSHt wzb65b6Z94qJCpQQfI0Gg9QyqA+ErVmjixNP+fRaFLrkxzNEbNKkQQ43rsWZkWI9TUEb oXdN1RCREs8bAovdUYWOQkLbnoOuJTpDQ4+oUGC8nBEWlxz75RBPLyXU40WKrrv8vWmS dcAAZj14M1Ho9BppsdCJ1cTTpPOP9gKwqKkzVhNs/K3sIl6LBk23X9mm4LqTedBggTow j0VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=9TeuMS7+p5ddyvbPjNkA+5PT44Jh0Ru6bQlomVn3lo4=; b=irIE9UvfhZ/z4WkBh+vAhw5J892Fb5rrLodSuw9JExAtZOnedXzQEXldJvnzNVDBNJ HhbXdgG/K4CUJfvQBmHMACzvLui0Uz+dwGHIK4CDbPH9Jxpjowp2hyTgBvZh8ZgR+pLK Xu/7nChJqZ8VQ6/OfKFE9OPI8RGU9HTdVm5vA3QM065LdgvRU4VWmZ88R8iCdOuUT3HT 8rVgHoQKhIsaYmTV7uIsqkxzRhFiVTJPAB8xTvCWQCVBlu4U9FH+Pdy7fUNWviIMtvu4 Z1MREbSrGzuSYyeW6JnZBbILZ2jZVHqIClgzFWd4IqBgaA1EpuAFnJBkKjkZdarPc78g ZTtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=HNiycbBQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m3-20020a656a03000000b00382a08a885dsi19718104pgu.362.2022.04.06.07.17.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:17:02 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=HNiycbBQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19B173D6BBC; Wed, 6 Apr 2022 05:03:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243442AbiDFKzm (ORCPT + 99 others); Wed, 6 Apr 2022 06:55:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235926AbiDFKyk (ORCPT ); Wed, 6 Apr 2022 06:54:40 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8675149A6; Wed, 6 Apr 2022 00:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649229413; x=1680765413; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=9TeuMS7+p5ddyvbPjNkA+5PT44Jh0Ru6bQlomVn3lo4=; b=HNiycbBQKPYzYVP0pDqCSs7Lqp+pAf0xphrIGahiThF+kQXe/P3nEJh0 bmnAqiFJp4gMuK9WlTTo1utqPObxhSG5U0JMFjSqhX6OEl5Gy1gW2yoV5 J2LFlRQr1y21oWeLICl91tzphwjpPCece39ycC1Iz4rmHgSsGYqG7r6y6 w=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 06 Apr 2022 00:16:37 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 06 Apr 2022 00:16:35 -0700 X-QCInternal: smtphost Received: from hu-vnivarth-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.111.166]) by ironmsg02-blr.qualcomm.com with ESMTP; 06 Apr 2022 12:46:33 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id A941F3B51; Wed, 6 Apr 2022 12:46:32 +0530 (+0530) From: Vijaya Krishna Nivarthi To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_msavaliy@quicinc.com, dianders@chromium.org, Vijaya Krishna Nivarthi Subject: [V3 2/3] arch: arm64: dts: qcom: Configure cts sleep pinctrl to bias-bus-hold Date: Wed, 6 Apr 2022 12:46:01 +0530 Message-Id: <1649229362-31183-3-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1649229362-31183-1-git-send-email-quic_vnivarth@quicinc.com> References: <1649229362-31183-1-git-send-email-quic_vnivarth@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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.