Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1066109pxk; Thu, 10 Sep 2020 06:19:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB4n4YrnIiJ1YYsd6L3qPmZz5zA712bvE3Kg0tNZlj3Ues6TNtb95cAyEQRDaO2j+hcqaO X-Received: by 2002:a17:907:37b:: with SMTP id rs27mr9350490ejb.0.1599743952364; Thu, 10 Sep 2020 06:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599743952; cv=none; d=google.com; s=arc-20160816; b=W/VVVB5tfZO/b/FsYmNoj8OJ5gQb/UQ82XaQEepsP8tKMWmR3naIjcMh7xtL0LZZLt xaJyRo/2kGGWWUpf8QyMY/n8ZDyahQomMWMhD4IL2gcGPZV/NvcxsrYSh/EtqKypuzjZ aerPlsLfRPYnward4vksHqcj27udJXEujQOKxEdaNjUiXa3IgWXnq8PFne3PlSZ6rRb3 O0PJk4otMEYRhD9lt6g/CGYpiXwztzZTdIn5+eqzZYGZIAaugA1zpBmlh7oj0rLIGD2d qPCmlNWHs2jV9zT0xp/G2raD5vWkqH5rbBAPXOj2iVAymBTm7qEswIlDdMSwBMb9Gzzd tOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:user-agent:message-id :references:in-reply-to:subject:cc:to:from:date :content-transfer-encoding:mime-version:dkim-signature :dkim-signature; bh=tea+C9qWcJLRj6+Qwt8ouqS8Ad1baO9NduJP64l2ZcY=; b=E4wXhJp2/zWBiji5T13D+8br074MquJYhB5MrBZ6QxjJES/AdQwwzFbU5Ob4KFfPpj m5BempTAWBSi9QHWotpAWUypWC+RLcafslbHjQs81Xlu4hKnm7XJQR3BhwM1l/zC5c6w POy97PPPu0ihXeApOOPSxqPiG+QwsKnvpuylfuR1FDuKwQFoOMsR3yLe+D+k7xOZaIYU afZvmn3dEBpG4IxR4dJXKtd4+8cPVssaXO6AFuUH3SoWp0xtoYc9XkvjW5AsqK/5WF0B zqpI55TBQTQQloYEmOYjTToKNNDVGw85HJkqBdLGmu8qAHa0TkGrw/cOHjUTF/rNAecS 46Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=NxfYxLCx; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=UuYYvFIz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gu3si3276532ejb.617.2020.09.10.06.18.47; Thu, 10 Sep 2020 06:19:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=NxfYxLCx; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=UuYYvFIz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730465AbgIJNLy (ORCPT + 99 others); Thu, 10 Sep 2020 09:11:54 -0400 Received: from a27-188.smtp-out.us-west-2.amazonses.com ([54.240.27.188]:54554 "EHLO a27-188.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730368AbgIJNHb (ORCPT ); Thu, 10 Sep 2020 09:07:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599742237; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID; bh=A9Lh+vWkVNILygqWZqjls4YC1TZDnQLkSvqL2XZ3eIY=; b=NxfYxLCx5rlXYYDTuelbyMbjN32D2KSdTUxQIaitStu/OcDhhTxt/k7a9bInokxb uH059kXmlQ8+vw8HB/aAWx/xHGdk1dOq3a9kO/LUw0Fio1z6JGWpjP1SfAg6Tq7zwLA OqySPARGPcA5wO4eciHZAgAsjbsmOGOZY77+OWMk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599742237; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=A9Lh+vWkVNILygqWZqjls4YC1TZDnQLkSvqL2XZ3eIY=; b=UuYYvFIzIIrkH4W7FFzYBwgGZdTyMev1iIAKnKd2rW1t9IfsVCf9gdEPUKQvP4th 2RZ6X8kf3kZx+lsieWBY3qoHDy5LgQK0fdruwR8CRSVTuUjoMIXNFAmGSixWJVAUUWT C5le0DXzBGAr8bN3rCn/b1n/ttvmL6+2q52GAt3g= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 10 Sep 2020 12:50:36 +0000 From: skakit@codeaurora.org To: Doug Anderson Cc: Bjorn Andersson , Matthias Kaehlcke , Greg Kroah-Hartman , Andy Gross , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Akash Asthana , Roja Rani Yarubandi , msavaliy@qti.qualcomm.com Subject: Re: [PATCH V4 3/4] arm64: dts: qcom: sc7180: Add sleep state for BT UART In-Reply-To: References: <1599145498-20707-1-git-send-email-skakit@codeaurora.org> <1599145498-20707-4-git-send-email-skakit@codeaurora.org> Message-ID: <010101747811583e-172b27b5-ea28-4660-a64b-407b13bb6fd1-000000@us-west-2.amazonses.com> X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-SES-Outgoing: 2020.09.10-54.240.27.188 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-09-10 02:59, Doug Anderson wrote: > Hi, > > On Thu, Sep 3, 2020 at 8:08 AM satya priya > wrote: >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> b/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> index cecac3e..77e3523 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> @@ -507,6 +507,43 @@ >> }; >> }; >> >> +&qup_uart3_sleep { >> + pinconf-cts { >> + /* >> + * Configure no-pull on CTS. As this is driven by BT, >> do not >> + * specify any pull in order to not conflict with BT >> pulls. >> + */ >> + pins = "gpio38"; >> + bias-disable; > > Same comment as in the previous patch that I'm not convinced removing > the bias here is correct. > Okay. > >> + }; >> + >> + pinconf-rts { >> + /* >> + * Configure pull-down on RTS to make sure that the BT >> SoC can >> + * wake up the system by sending wakeup bytes during >> suspend. >> + */ >> + pins = "gpio39"; >> + bias-pull-down; >> + }; >> + >> + pinconf-tx { >> + /* Configure pull-up on TX when it isn't actively >> driven */ >> + pins = "gpio40"; >> + bias-pull-up; >> + }; >> + >> + pinconf-rx { >> + /* >> + * Configure a pull-up on RX. This is needed to avoid >> + * garbage data when the TX pin of the Bluetooth >> module is >> + * in tri-state (module powered off or not driving the >> + * signal yet). >> + */ >> + pins = "gpio41"; >> + bias-pull-up; >> + }; >> +}; >> + >> &qup_uart8_default { > > Slight nit that "default" starts with a "d" which sorts before "sleep" > which starts with an "s". Thus "qup_uart8_default" should be above > "qup_uart3_sleep", not below. Okay.