Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2168572iof; Tue, 7 Jun 2022 22:01:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzb7Xs0m12GHRbKuAoLQCQloTlzRHmBNJEOxjOfdjeUFf2UwYeWzuUTDHLsEAKz0ec+b3X X-Received: by 2002:a17:90b:240e:b0:1e0:775b:f8fc with SMTP id nr14-20020a17090b240e00b001e0775bf8fcmr36091756pjb.132.1654664503134; Tue, 07 Jun 2022 22:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664503; cv=none; d=google.com; s=arc-20160816; b=btL8eD83lODOkSDuwej4OnETUAT1YS0+SGZEjfOg98kVz1ySgdiZXRzmkfuar7zyKq iwIHUb0L78dsVTAbhjSjJUiCnmiljpw14Zx0cvWenfmLE2yjE9a+4Mo++Y2fbKntaBnP hrFrMpE7RmUwBGTj92Uz8fhYtKEauNhoKeEjm3Ql4ynuF/wWCOE53wY8MoVAtVkGeluG dbSHVvCa9CeFHbei4lfOzT1rymCGym0q2bUCkYrM3IrRcDYT9TRe/JLaeB99c2FeC10l i7/9C9QV88ydnc3MEtcnySRW2L5PYZ2PgN6ZrzAf0LX96EzPnysN8e1r3bgF2d0u5iiw exVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GVo90KhL984JE6cc0F5rxct/RJMfkMNE8Eobmn/m3po=; b=UxSlJfn3MsFcFSOPAPHKd0XtgqENhBvBAy4Ybm+1R2oWBofGGF3rB0nMJbFTMmABTo wDcBihzX40LGILb1dTB0blKGKSKMubF9/Tfy6ejVJukkY9eBD8GNn/J9GcQ8PodEnJeI p+SZ7aKDcay3efhRSTNZ/OOr4Qf6ONR1Ww9fHIAVWH7vNoF44GE+F6iULvdA7riF6uPA +Qk2DIWaHd+9Tn9/3HUylKw/45XY9Qvx0Kdmcd5tjnDNhwypmOO6auWzTpQ3/iVL1hd3 gdYi1gROrhrFkrLNg2d5HdLIhzstCXVO3RcokLSs80SPNiO8kSZ2fMoQ9gcOywq1h91v tHYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rDWni6ds; 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=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b189-20020a6334c6000000b003fe34317ce2si1420675pga.778.2022.06.07.22.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:01:43 -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=@linuxfoundation.org header.s=korg header.b=rDWni6ds; 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=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2662A38AC9A; Tue, 7 Jun 2022 21:29:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384639AbiFGWZ5 (ORCPT + 99 others); Tue, 7 Jun 2022 18:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380694AbiFGVQl (ORCPT ); Tue, 7 Jun 2022 17:16:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27EDA21F9A4; Tue, 7 Jun 2022 11:56:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B8EB661311; Tue, 7 Jun 2022 18:56:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB5BFC385A2; Tue, 7 Jun 2022 18:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628172; bh=jQUQChwJbrQ4qrR8OZj17hDr6QR/W1yv93vA5CkVftI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rDWni6dsOnzh8jsJaagWAc3haxEXokpBVb4aHo33+oUtZlC2zQMzlIY9kXyqhdrTL hlkgOlGAFtMfVRrdUfzhN6EL4zwHNfTadkDNu+x3eAUC1mu5R6ANAV8l4ap202YCpR FPgX3Bt4Bxmp9TyPRMe+4XT+CMmY87CU/99xT3gA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vijaya Krishna Nivarthi , Douglas Anderson , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.18 231/879] arm64: dts: qcom: sc7280-idp: Configure CTS pin to bias-bus-hold for bluetooth Date: Tue, 7 Jun 2022 18:55:49 +0200 Message-Id: <20220607165009.558513009@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=unavailable 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 From: Vijaya Krishna Nivarthi [ Upstream commit 497b272759986af1aa5a25b5e903d082c67bd8f6 ] 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 Reviewed-by: Douglas Anderson Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/1650556567-4995-2-git-send-email-quic_vnivarth@quicinc.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index ecbf2b89d896..5ab3696af354 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -400,10 +400,13 @@ &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 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; }; &qup_uart7_rts { @@ -495,10 +498,13 @@ 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; }; qup_uart7_sleep_rts: qup-uart7-sleep-rts { -- 2.35.1