Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1169278pxk; Thu, 10 Sep 2020 08:39:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+rXuHPPfAvDfrc7/K6YoAX/S5GhDX5K0FIHsTrcxQpcWMsImGq06iTbeUs67dK1IvVER8 X-Received: by 2002:a17:906:7e42:: with SMTP id z2mr9210386ejr.206.1599752352840; Thu, 10 Sep 2020 08:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599752352; cv=none; d=google.com; s=arc-20160816; b=ewjeKRvHGNGpbB/lPnvtkL+dXfuP7j7RnTAPNDXgu7I7JtJNp24PyP2fVXJvb+J0mb XpcWgxjq/Ozu1AYQuMi8GoCosih+XFRd0tKAPBtvdpFSPkbkPuv9MY9ivD5ZQieeNQ+P BUb24T5+UqDNoveWGoVy7LVnuia87Qth/TIvQX/aokHMck5gpsCfhmkeZP9uZEu60FkX 5fCH3BOOsC8h1zs93EWIqKSThPmOULi67B/c4AMRBslBLwIc8TgQS8vTzrMrN4vf/YIT 5GjYR8arHxDYt0Um9yui4IS21sKCqYkJGDE5nnQfuGJW7by4h0eoPjQElE0soch/9BVZ gAMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=GCprT+WsXfOdkUFsisIM5KSkShRJAZLXb/z1udGoTpg=; b=SZZ0OTt7U2K8cCZJNoiKb3sNtw/ySMZu8ZGEskSciSo7mpcPH+QqMkfHfMO3rLGhH3 N/Awkbg31fm1Or1q84+A5dhb2WnlKpovBk/0uYqLe4zkWug75KehvBWq4J8qA4vwISiM EIn7YI8nqOdAQz4KP1NIll+vSaVcfeRXDUUjVoD0nptJEtK4nYwvcCzbvVee8hK4TnS6 ybnXorEi7tNFQGb8CA5VspfK3mQxmb3plCXDlfCpRn1zv6h2UnR/+bqR/pI7ZQIc/KHL 1rSSg/i1vIPHYaN4op0Njf8N4zCcyT96qbsKs1IftxKj5G+FI8ARarWpAhrv0F+9ioRw AX9A== ARC-Authentication-Results: i=1; mx.google.com; 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 i11si3934133ejv.148.2020.09.10.08.38.48; Thu, 10 Sep 2020 08:39: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; 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 S1731350AbgIJPh3 (ORCPT + 99 others); Thu, 10 Sep 2020 11:37:29 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:60831 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731355AbgIJPgW (ORCPT ); Thu, 10 Sep 2020 11:36:22 -0400 X-Originating-IP: 99.144.118.237 Received: from m1nmax.no-ip.org (unknown [99.144.118.237]) (Authenticated sender: matthias@kaehlcke.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 0EE321BF20A; Thu, 10 Sep 2020 15:35:38 +0000 (UTC) Received: by m1nmax.no-ip.org (Postfix, from userid 1000) id B0CFD80655; Thu, 10 Sep 2020 08:35:36 -0700 (PDT) Date: Thu, 10 Sep 2020 08:35:36 -0700 From: Matthias Kaehlcke To: satya priya Cc: Bjorn Andersson , Matthias Kaehlcke , gregkh@linuxfoundation.org, Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, akashast@codeaurora.org, rojay@codeaurora.org, msavaliy@qti.qualcomm.com, dianders@chromium.org Subject: Re: [PATCH V5 2/4] arm64: dts: qcom: sc7180: Add necessary pinctrl and interrupt config for BT UART Message-ID: <20200910153536.lcifa6ljy7hwgptn@debian> Mail-Followup-To: Matthias Kaehlcke , satya priya , Bjorn Andersson , Matthias Kaehlcke , gregkh@linuxfoundation.org, Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, akashast@codeaurora.org, rojay@codeaurora.org, msavaliy@qti.qualcomm.com, dianders@chromium.org References: <1599742438-16811-1-git-send-email-skakit@codeaurora.org> <1599742438-16811-3-git-send-email-skakit@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1599742438-16811-3-git-send-email-skakit@codeaurora.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org El Thu, Sep 10, 2020 at 06:23:56PM +0530 satya priya ha dit: > Add a suitable sleep configuration for uart3 to support Bluetooth wakeup. > > If QUP function is selected in sleep state, UART RTS/RFR is pulled high > during suspend and BT SoC not able to send wakeup bytes. So, configure > GPIO mode in sleep state to keep it low during suspend. > > Signed-off-by: satya priya > Reviewed-by: Akash Asthana Was this change really reviewed (privately) by Akash or are you still carrying forward this tag from v2? The configuration and the comments have change substantially since v2, IMO you should drop the tag unless Akash really reviewed the current version or something close to it. > --- > Changes in V2: > - This patch adds sleep state for BT UART. Newly added in V2. > > Changes in V3: > - Remove "output-high" for TX from both sleep and default states > as it is not required. Configure pull-up for TX in sleep state. > > Changes in V4: > - As per Matthias's comment, removed drive-strength for sleep state > and fixed nit-pick. > > Changes in V5: > - As per Matthias's comments, moved pinmux change for sleep state, > pinctrl and interrupt config to the board specific file. > > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 48 +++++++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts > index 04888df..e529a41 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts > +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts > @@ -344,6 +344,10 @@ > }; > > &uart3 { > + pinctrl-names = "default", "sleep"; > + pinctrl-1 = <&qup_uart3_sleep>; > + interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>, > + <&tlmm 41 IRQ_TYPE_EDGE_FALLING>; As Doug already said, you need to delete the 'interrupts' property now that we have 'interrupts-extended'.