Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp56296imc; Fri, 15 Mar 2019 16:40:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1csw7fKUnEY8jaKuKjigX75I9gJkmT9BU5xXCV5lDkkUGSKx5carsSr/l+xZFY48OlUZd X-Received: by 2002:a62:8c:: with SMTP id 134mr6611986pfa.27.1552693237294; Fri, 15 Mar 2019 16:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552693237; cv=none; d=google.com; s=arc-20160816; b=rMCc1bMEyZRzrZhtExtrYznrBG626Bdak9Q2AxGFgtGWaMJ6mT4678tq/GVOaTkeXk ovxE7kOPIbuy4ojnLIiuTWoDsjYhf9+iTqvOOZPHGMk6+Yta67pFEpNbVFywIx/fjJSs XOgPt/t2UJ+FBSKwl92mjf3AdNsDT6E9LCR98GkHoUkwE1pXc2LfFFB/3UZ59n74dkqd IhbHXjjDpOF9up9gh3HBZpxfYyaXkQ4xAe/NvgeE0EQe0Yv/j+GbxdManWTs2LtwbXcz M94IejRsXln7KscVcQbx3YsDRN6lyQ4Yk7XqrY8gNxIv53uVU8H+l9bXrmU01N56Jvbq wgwA== 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:message-id:subject:cc :to:from:date; bh=CLPs75sCST9BnuLqglaIrgbQ4U5qUjEloPjsVcjwgmM=; b=utk7oGNm13OhGxQzlT1nDpNBab+gkgHNWB6ctvu2yVqQx5fd9ICd3Wq5spvNC97Y3H VdIZTKa/n68Ob7hgHj1jRMuGBTC+r63CgSfNUiIcwqj8Chq5N0k31xTNqDQMrG01kZsm VPRjIEbAGyt2rK0ffPb8DxSoKMpeXIevi7syDprKCK01QCcX4Dgm7FlyzmACb1oSfqEU vhD4AC8G9FZYeUaPQgy/KCFYQrTCl90N7ohrm622mRx8QUfxj9OVigz6jh0ORhKabHLV U3nib/hgL2ABDWamPLYNfGZuoVYrMA1wJmwE6skyBwjCuctgoiqzxxWDP+HtGxz1nehz RJWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si2845977plr.57.2019.03.15.16.40.20; Fri, 15 Mar 2019 16:40:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727532AbfCOXhv (ORCPT + 99 others); Fri, 15 Mar 2019 19:37:51 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:37700 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726744AbfCOXhu (ORCPT ); Fri, 15 Mar 2019 19:37:50 -0400 Received: by mail-oi1-f194.google.com with SMTP id v84so2360343oif.4; Fri, 15 Mar 2019 16:37:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CLPs75sCST9BnuLqglaIrgbQ4U5qUjEloPjsVcjwgmM=; b=nXQWH5wRr0yTeu2IgKj23dlafX/ZzI4nLrE/Y/Y1p8f3ThGBqODKArptMm0837rDZb JsNJUvg4sRulEGdYgiWTwG20FzqscfrPA7b9fH14R9DQg9e8fQ+enlvslfg7NdXJESnr c4Hyb13LhNgTV2SyXzqhIIET6qTc3Ye7Jn4BAowS+N4WS93wFTMI0mvjXU5IP8LKPyR9 NXLOoS8Vt++Cw6QiV4j5nRV3VGUX3uE0tYAK055L6dE1YUcpo6sO/UJ+7he87WBsijUh K+Jtc3DQlyJWgRoFLv7Lv09IGceu5OqkWRKzid/f7H4VhxDsZD/KHdNbvtWDufTSj6mw L97g== X-Gm-Message-State: APjAAAW3LrYPX6xO+CuDqbATkN8yrM7zHNUFJ0ggAiMSsIZ7r+P+8x5V HwTz2TY+y2nH0bRi1GMSOQ== X-Received: by 2002:aca:3286:: with SMTP id y128mr3031261oiy.29.1552693069983; Fri, 15 Mar 2019 16:37:49 -0700 (PDT) Received: from localhost (ip-108-119-106-197.ftwttx.spcsdns.net. [108.119.106.197]) by smtp.gmail.com with ESMTPSA id y28sm698490oix.23.2019.03.15.16.37.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Mar 2019 16:37:49 -0700 (PDT) Date: Fri, 15 Mar 2019 18:37:48 -0500 From: Rob Herring To: Lina Iyer Cc: swboyd@chromium.org, evgreen@chromium.org, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, rplsssn@codeaurora.org, linux-arm-msm@vger.kernel.org, thierry.reding@gmail.com, bjorn.andersson@linaro.org, dianders@chromium.org, linus.walleij@linaro.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 06/10] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO Message-ID: <20190315233748.GA7219@bogus> References: <20190313211844.29416-1-ilina@codeaurora.org> <20190313211844.29416-7-ilina@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190313211844.29416-7-ilina@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 13, 2019 at 03:18:40PM -0600, Lina Iyer wrote: > SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > routed to the PDC as interrupts that can be used to wake the system up > from deep low power modes and suspend. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Lina Iyer > --- > .../devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) I still don't love this being specific to wake-up, but don't have a better suggestion. One nit, otherwise: Reviewed-by: Rob Herring > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt > index 665aadb5ea28..f0fedbc5d41a 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt > @@ -29,6 +29,11 @@ SDM845 platform. > Definition: must be 2. Specifying the pin number and flags, as defined > in > > +- wakeup-parent: > + Usage: optional > + Value type: > + Definition: A phandle to the wakeup interrupt controller for the SoC. > + > - gpio-controller: > Usage: required > Value type: > @@ -53,7 +58,6 @@ pin, a group, or a list of pins or groups. This configuration can include the > mux function to select on those pin(s)/group(s), and various pin configuration > parameters, such as pull-up, drive strength, etc. > > - > PIN CONFIGURATION NODES: > > The name of each subnode is not important; all subnodes should be enumerated > @@ -160,6 +164,7 @@ Example: > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + wake-parent = <&pdc_intc>; wakeup-parent > > qup9_active: qup9-active { > mux { > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >