On 16/09/2016 at 11:26:28 +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 <m.niestroj@xxxxxxxxxxxxxxxx> > --- > Hi, > > This patch adds support for ext_wakeup using generic pinconf device-tree > bindings, with one added custom property. > > Changes v5 -> v6: > * Add depends on OF and PINCTRL in Kconfig (found by kbuild test robot) > > 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-rc6, tested using chiliBoard. > > [1] http://www.spinics.net/lists/devicetree/msg131516.html > > Documentation/devicetree/bindings/rtc/rtc-omap.txt | 21 +++ > drivers/rtc/Kconfig | 3 + > drivers/rtc/rtc-omap.c | 168 ++++++++++++++++++++- > 3 files changed, 184 insertions(+), 8 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html