From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com. [209.85.218.68]) by gmr-mx.google.com with ESMTPS id 125si714682itw.2.2016.09.16.08.38.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Sep 2016 08:38:00 -0700 (PDT) Received: by mail-oi0-f68.google.com with SMTP id v62so3458423oig.1 for ; Fri, 16 Sep 2016 08:38:00 -0700 (PDT) Date: Fri, 16 Sep 2016 10:37:59 -0500 From: Rob Herring To: Marcin Niestroj Cc: Tony Lindgren , Grygorii Strashko , Alexandre Belloni , Keerthy , Pawel Moll , Alessandro Zummo , rtc-linux@googlegroups.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org Subject: [rtc-linux] Re: [PATCH v5] rtc: omap: Support ext_wakeup configuration Message-ID: <20160916153759.GA12050@rob-hp-laptop> References: <20160908105203.8641-1-m.niestroj@grinn-global.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <20160908105203.8641-1-m.niestroj@grinn-global.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On Thu, Sep 08, 2016 at 12:52:03PM +0200, Marcin Niestroj wrote: > Support configuration of ext_wakeup sources. This patch makes it > possible to enable ext_wakeup and set it's polarity, depending on board > configuration. AM335x's dedicated PMIC (tps65217) uses ext_wakeup to > notify about power-button presses. Handling power-button presses enables > to recover from RTC-only power states correctly. > > Signed-off-by: Marcin Niestroj > --- > Hi, > > This patch adds support for ext_wakeup using generic pinconf device-tree > bindings, with one added custom property. > > Changes v4 -> v5 (suggested by Rob): > * Don't use GPIO defines in ti,input-polarity, use optional ti,active-high > boolean instead. > * Use '-' instead of '_' in node name. > > Changes v1 -> v4: > * This is a total reimplementation, so it is not based on any of the previous > patch versions. This approach has been suggested by Tony and Grygorii > in [1]. > > Patch was developed on 4.7, rebased on 4.8-rc5, tested using chiliBoard. > > [1] http://www.spinics.net/lists/devicetree/msg131516.html > > Documentation/devicetree/bindings/rtc/rtc-omap.txt | 21 +++ For the binding: Acked-by: Rob Herring > drivers/rtc/Kconfig | 1 + > drivers/rtc/rtc-omap.c | 168 ++++++++++++++++++++- > 3 files changed, 182 insertions(+), 8 deletions(-) -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v5] rtc: omap: Support ext_wakeup configuration Date: Fri, 16 Sep 2016 10:37:59 -0500 Message-ID: <20160916153759.GA12050@rob-hp-laptop> References: <20160908105203.8641-1-m.niestroj@grinn-global.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20160908105203.8641-1-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Marcin Niestroj Cc: Tony Lindgren , Grygorii Strashko , Alexandre Belloni , Keerthy , Pawel Moll , Alessandro Zummo , rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, Sep 08, 2016 at 12:52:03PM +0200, Marcin Niestroj wrote: > Support configuration of ext_wakeup sources. This patch makes it > possible to enable ext_wakeup and set it's polarity, depending on board > configuration. AM335x's dedicated PMIC (tps65217) uses ext_wakeup to > notify about power-button presses. Handling power-button presses enables > to recover from RTC-only power states correctly. > > Signed-off-by: Marcin Niestroj > --- > Hi, > > This patch adds support for ext_wakeup using generic pinconf device-tree > bindings, with one added custom property. > > Changes v4 -> v5 (suggested by Rob): > * Don't use GPIO defines in ti,input-polarity, use optional ti,active-high > boolean instead. > * Use '-' instead of '_' in node name. > > Changes v1 -> v4: > * This is a total reimplementation, so it is not based on any of the previous > patch versions. This approach has been suggested by Tony and Grygorii > in [1]. > > Patch was developed on 4.7, rebased on 4.8-rc5, tested using chiliBoard. > > [1] http://www.spinics.net/lists/devicetree/msg131516.html > > Documentation/devicetree/bindings/rtc/rtc-omap.txt | 21 +++ For the binding: Acked-by: Rob Herring > drivers/rtc/Kconfig | 1 + > drivers/rtc/rtc-omap.c | 168 ++++++++++++++++++++- > 3 files changed, 182 insertions(+), 8 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html