Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1131823pxk; Thu, 10 Sep 2020 07:48:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoGxij9NiRo+7EJpusYFNUlCBTQrqomKRrDmgaiMURkSQBXncRuiBh08AlE0jJLinII3ys X-Received: by 2002:a50:f197:: with SMTP id x23mr10079260edl.367.1599749336608; Thu, 10 Sep 2020 07:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599749336; cv=none; d=google.com; s=arc-20160816; b=fmdS7LO1PtsjX5aeNyK8sl5JC6woQD4YZpO6ea01HiMVu29LovSVB8WiMRs/nbxcih 3rAytAIBI6uiOGlOhPEmdc92SL3Xvtd5jFrGIcj7jRwjF3bqC6NtdYqjjyFg7aiCXO3t TFGq6pW/8VOByXfDIAQVpgBB7nPSQAd4KOIhGx0Q1g/Q0gms6QgHLKmXiqUpgCdVO1/V n+3ysr7IDsMnpH0PdGy7XhC+2hwuZzodO6e4oM87XOquXa99/mpiTh16h8CI5eRYC4r0 f/RRD/zdDMi6Sut+SsAQZXx6BftX5slIhv82ozCNJPFIiRZ5GfIDrS7UQl/ljW79IdfT yfBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8wYSv2yNWOcm4swEzcOjcSrWwn0iN5ISZ7p6aiaQtxY=; b=lu4vr5ui9uvTsoq/ZarvPR01m2+8QslSUjrPWg9t2yBIveG663/x0XZ+Fb3Vk0bSlM L9DZ25OKmcdQySelS3as9yVpJePQ8AsGMwPSjsqRwHCE5aYls6h4i7EqIKI2fQrMs9bl Um0Y70cG81BSdKqswhD1de/0RBQSYvPsP7lIUKK11fscYgnIeqhx7GKzYnzZg8HEvJFs Ye4G1CR5EagjT2KIJy9f/ktC+fvau7Lbo+EbNVXrqjRH+RKr9X9DDKUvv4sRjb4JjPy3 YmpFrGXrB5wCM8gLsvJrm7wISHEeLjg98Ko/dAqpU9V5yrdgUDBFxPX+Qce62J6uFr62 S0iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kj5yuItS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si3706919edv.452.2020.09.10.07.48.34; Thu, 10 Sep 2020 07:48:56 -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=@chromium.org header.s=google header.b=kj5yuItS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730544AbgIJOqT (ORCPT + 99 others); Thu, 10 Sep 2020 10:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731224AbgIJOkm (ORCPT ); Thu, 10 Sep 2020 10:40:42 -0400 Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com [IPv6:2607:f8b0:4864:20::e41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF17C06179B for ; Thu, 10 Sep 2020 07:40:38 -0700 (PDT) Received: by mail-vs1-xe41.google.com with SMTP id e14so3501456vsa.9 for ; Thu, 10 Sep 2020 07:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8wYSv2yNWOcm4swEzcOjcSrWwn0iN5ISZ7p6aiaQtxY=; b=kj5yuItS5VW5RD+cgq8g4j3xq/R7MiuNMmVVtmTlNO/uY+xoAwD4LNuNxyQtyIbDec C5oWEWUkk1Uv9J97FOOUvy96B/Nnb5QKCBDMqnZyVYULLLSKjCHMDQjTdvDVB2pdvOVk igIGtx9irofGK2AiYhVhw1fm0moseGf1NxXyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8wYSv2yNWOcm4swEzcOjcSrWwn0iN5ISZ7p6aiaQtxY=; b=r7Y1gapd4HssIeu2ZL/RT9oYSggV8u/ztbpN1Euv+Hrzb7f03n6jCROzJC6H8TMbN3 285j4Et/V2d2JfdOUSJ6YGAkvk+fgrgF0sqI3mXQZtDT8bgGm6oIwpBgdYWjJRnzo7Pe w8nSs/IW8WaSE+IgmdwP/qTi8gJUiGWY12f1uTLR+T3ycGejtAlJ16lSKXg7KklbmH8v FiKcwxg2EBrjydamyaB6rquKdzAgQeVwWMRZyoXBSHXNajZ+9JwbU6e3tfgjbGG7SIVF 3qjS4lvVyFi+xgghR+Sw8AfJ+f4LMyv1ah9eBMN4AEFMkQT46/d+epjnYniOI7AKWFvp E9oA== X-Gm-Message-State: AOAM532H3tbnnwdB7gL0hT2reff9r8enboVNM0GEk2YdkYt4Tyc5lVK+ HpKBNeYz03JxRNsCYlfDoA97qG1SFvst6g== X-Received: by 2002:a67:383:: with SMTP id 125mr4344793vsd.9.1599748837646; Thu, 10 Sep 2020 07:40:37 -0700 (PDT) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com. [209.85.217.48]) by smtp.gmail.com with ESMTPSA id a7sm771831vsl.12.2020.09.10.07.40.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Sep 2020 07:40:36 -0700 (PDT) Received: by mail-vs1-f48.google.com with SMTP id q67so3510497vsd.5 for ; Thu, 10 Sep 2020 07:40:36 -0700 (PDT) X-Received: by 2002:a05:6102:10c2:: with SMTP id t2mr4114960vsr.10.1599748836032; Thu, 10 Sep 2020 07:40:36 -0700 (PDT) MIME-Version: 1.0 References: <1599742438-16811-1-git-send-email-skakit@codeaurora.org> <1599742438-16811-3-git-send-email-skakit@codeaurora.org> In-Reply-To: <1599742438-16811-3-git-send-email-skakit@codeaurora.org> From: Doug Anderson Date: Thu, 10 Sep 2020 07:40:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V5 2/4] arm64: dts: qcom: sc7180: Add necessary pinctrl and interrupt config for BT UART To: satya priya 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Sep 10, 2020 at 5:55 AM satya priya wrote: > > 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 > --- > 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(+) Similar comment to patch #1 in that this applies only to the IDP board but that's not obvious from ${SUBJECT} > 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>; You need a: /delete-property/interrupts; ...or, alternatively, a patch before this one that converts all the UARTs in sc7180 to just use interrupts-extended. > status = "okay"; Slight nit is that usually I see the status line first. All the other instances in this file have it that way. Can you match? -Doug