Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp627006pxk; Wed, 9 Sep 2020 14:33:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt0XTIpLuzEQe1il7onrW6NERnnWpM36Ke3fXabGWZKbZuD4DS4y8ckygwxGoPMGeEeGwN X-Received: by 2002:a50:ab13:: with SMTP id s19mr6003095edc.357.1599687220702; Wed, 09 Sep 2020 14:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599687220; cv=none; d=google.com; s=arc-20160816; b=hbzGRycCf1WTxuMLm84ydpFbrCmomgXtgHHz0Hzs378kGf3nVjSzwF6ji0SVFVKUIz +Hp5OA3S68QccU4pepOCNGNmM45YK4hvPd9YZY+RcTdoehYMUOIBoYChinKo2ZW1+XPx tG7noA22D5Mh7pH7lorfdpLa2UPI5qQJnTI2lZttdGZWJZxngWM/m8aPd8xlEnGxhBBt DTNJOm+/VnOaMtjbQwJWtkVTz4rMFZhXz1gke9hYXfZVLGcBhu+acRqDjI0RAKBeqpa/ rglsfMWrG26Yt2vhSc9ucfNGyDcHCXX8aIGF6RSH2wbN8qGg4hY2eWc2Yn7iXTQxMVw4 xSug== 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=47pCfHCQ+v4BbpZhrHNZ2wtMUQkpqJXTbV3lF3DkBic=; b=a7CRKHUr82/nM7Af7vZbVe/IRlvEvUKkRgk1SYVeIGWQOCyYPxiP9PSilP783qiQnY JnBjSZ2pNu1PkmRXydgd0t6dyGow7jzIBj9IEO5TPlGVHbdbkqlZeTz8nh5SiO9DlJ1h Jq8L618B8dLgMvJRCNnfF4iPueLWplPsTssOh84sJJZNayia66JUKsu9kYmv0D3RJVv9 AYV7phDmSlucdG8R8+vPWUo+dr9aAh/Zvef9oGVE1v8s/dx9AWVNI5rcBtpcY4tkx7y7 HE2V1/dBuYzlu9c1MGoAxlWYzn8KXsmghKm97BMdOfdskQ/RnltjZrjC52is8YzwhcZh caBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jXLCBqNU; 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 y16si2628978edq.199.2020.09.09.14.33.17; Wed, 09 Sep 2020 14:33:40 -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=jXLCBqNU; 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 S1730111AbgIIVaS (ORCPT + 99 others); Wed, 9 Sep 2020 17:30:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbgIIVaL (ORCPT ); Wed, 9 Sep 2020 17:30:11 -0400 Received: from mail-vk1-xa43.google.com (mail-vk1-xa43.google.com [IPv6:2607:f8b0:4864:20::a43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF29C061573 for ; Wed, 9 Sep 2020 14:30:10 -0700 (PDT) Received: by mail-vk1-xa43.google.com with SMTP id e5so1064690vkm.2 for ; Wed, 09 Sep 2020 14:30:10 -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=47pCfHCQ+v4BbpZhrHNZ2wtMUQkpqJXTbV3lF3DkBic=; b=jXLCBqNUV9jGbre90QfVGVO4THC61Ocp5+wSKhoeIGyRADR6hKTBJUMPPXtjVJtlfT nxJk7eqLtaDCYR7zQTQAYQt9efFu8muNYflrHPKsG8DB37chbJKvqorUdT2Ks++80dxl sT5gwqw36/ChMVpExrBrojlJx98COigtRy9a8= 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=47pCfHCQ+v4BbpZhrHNZ2wtMUQkpqJXTbV3lF3DkBic=; b=S326JOCEy4rELKQ2ok4bTNrwyI7e/72p05wGWvIIvkGD+FS5V6M8nuL8QS1so5vm9r /aOE97Ez0GXGvq9ZImF2KIYXz4dKikfRr6qSSSOBXRx7iPXzMQqRIKWbcktOIHGpg5+L z7q6FB1SMtel8vio2254uA9oJqmLBd6Nx+x2OshXegQij2d8H78b5rtj3eWCfUHyevdx A1DW/M4E/HKM0szgua4PI34cwieRtQ3GJ0MndVXpLAgDVQiqGkuLCux941bPK9NJn4Ok Fv3Sr+MdGGulOwcwLL4wKERpfU3gh3ocX9g8OQJNyfJ0IAuyKx/XzdGcYB1pLZzEZEXi 60pg== X-Gm-Message-State: AOAM531FrbdzfgTq3gqN6BHLQXE0mAMy+dR+vDUvi/F0A3NnXLWCYKXn AeORnaq7GwU3HTmKXfwRbjNLzbKbygfeYA== X-Received: by 2002:a1f:bf53:: with SMTP id p80mr2236681vkf.5.1599687009659; Wed, 09 Sep 2020 14:30:09 -0700 (PDT) Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com. [209.85.221.169]) by smtp.gmail.com with ESMTPSA id b205sm581649vkf.54.2020.09.09.14.30.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Sep 2020 14:30:08 -0700 (PDT) Received: by mail-vk1-f169.google.com with SMTP id n193so1051941vkf.12 for ; Wed, 09 Sep 2020 14:30:08 -0700 (PDT) X-Received: by 2002:a1f:e641:: with SMTP id d62mr2162009vkh.30.1599687008270; Wed, 09 Sep 2020 14:30:08 -0700 (PDT) MIME-Version: 1.0 References: <1599145498-20707-1-git-send-email-skakit@codeaurora.org> <1599145498-20707-4-git-send-email-skakit@codeaurora.org> In-Reply-To: <1599145498-20707-4-git-send-email-skakit@codeaurora.org> From: Doug Anderson Date: Wed, 9 Sep 2020 14:29:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V4 3/4] arm64: dts: qcom: sc7180: Add sleep state 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 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. > + }; > + > + 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.