]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: omap: Support ext_wakeup configuration
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Fri, 16 Sep 2016 09:26:28 +0000 (11:26 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 21 Sep 2016 19:46:04 +0000 (21:46 +0200)
commit585507e4a50f25ca4a1595bd7b7da7570bae1373
tree71548d748629fe2f6b63e2ea9b92b007a6bbdeb9
parent89d225fbf79e03a634c18119bd8b1a6a935c4e89
rtc: omap: Support ext_wakeup configuration

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@grinn-global.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/rtc-omap.txt
drivers/rtc/Kconfig
drivers/rtc/rtc-omap.c