Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2167403iof; Tue, 7 Jun 2022 22:00:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyklIzuhtQVk5UFi9+6/rs+18VlXCjxReIpNDTD+FpXMqxDqrmOMSDKJWJJcdmfDd3IkLEa X-Received: by 2002:a17:903:28c:b0:167:6127:ed99 with SMTP id j12-20020a170903028c00b001676127ed99mr20414047plr.94.1654664401419; Tue, 07 Jun 2022 22:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664401; cv=none; d=google.com; s=arc-20160816; b=ZePB2oS7qDYOEfkcqnQgchp8XnVi92zhx5oht/7gj9vYDBd5hvceaEOdcLpOeOt3dj LpyVpaFQmx1BDwjpafNHIfUiI/R7klw5tQ9m7lMVkdm3qTAYfEspBpH5gfq6QpdqzMpT USXHA8OYnRx9fqYGAGpcJpDf8CKmA++K/0LvCtPTveO0rBxdRMwhpwi7bLetHHfLgU1q 8RL8sx+PWu5WmkHZ5z1jy9RZsRIBR8/d9V5xFU6UDeXVX067oH6ohM/7gmWlnCQyU+g/ X+HKYTY+bDDlRKi5Phlub47BTuw4E685RJhywPyZunG8rbTrNYtU+Imp5VsKVjCuvWZd ISKA== 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=EHi8Fbj2UqvxtOIokz2vuIsSQLi54BVOuv6GvRHrxmI=; b=JlPBxKn+1YGw+4Iz0VxrfYD56qW6WuWIZLRDRU+8MM01jcdSNQ0Qw9tbRMVYZUJHvn WLj7ZGo+ZBb1Fvow1kLLiP3lMkx2Bjx/s1EAKv5WRrk44dbYNFNk3QIqzV7FY0Np8l2O vP+ujZMMbICTolPcawN//FMWaeK1q9jde/MEMR1VXp+TxzmZtCF7oj5VUMzSjQNB5hVu iKKJDGhf5kqZtYP0Zda2N8zjtFjFvV+mPX5LHURqAvNcI81lXGFwiWpxjH2YSI03GFzV RmaEx2Lk3ASt4AtMEcaOR8wq2KBKm8kabq+SowLU1/QtUUEg0BESGP1eOySo8yEYAUcr P6yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wfTI2axQ; 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 w5-20020a639345000000b003fad857c97bsi28765254pgm.314.2022.06.07.22.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:00:01 -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=wfTI2axQ; 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 A6B3637E8AB; Tue, 7 Jun 2022 21:28:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381815AbiFGWVt (ORCPT + 99 others); Tue, 7 Jun 2022 18:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380695AbiFGVQl (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 0BB5510051B; Tue, 7 Jun 2022 11:56:16 -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 9A37A6159D; Tue, 7 Jun 2022 18:56:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5089C385A2; Tue, 7 Jun 2022 18:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628175; bh=Hhw55AfzpwlRxLhH27rdAzG4aVpO7vLDDDwchHEKwE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wfTI2axQ6BgbqNtFYs2pg6MqwCrxu6IzJOK5UXUewLeh+dWX4z0csnmNzCdSP4YER Te+/UCPO7+dtjhoD5Ucsh9ZpJTRvaAGGD34cfDcrsAMaXwpBTkV5zSA8YfyuXQEY2e EG+5VjUlNuVYpXZhswT6pLtYQ2qmSpavEAB5krWs= 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 232/879] arm64: dts: qcom: sc7280-qcard: Configure CTS pin to bias-bus-hold for bluetooth Date: Tue, 7 Jun 2022 18:55:50 +0200 Message-Id: <20220607165009.587287478@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 3d0e375bae55c2dfa6dd0762f45ad71f0b192f71 ] 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-3-git-send-email-quic_vnivarth@quicinc.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi index b833ba1e8f4a..98b5cd70bca5 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi @@ -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 */ @@ -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 */ -- 2.35.1