]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: jz4740: Add support for acting as the system power controller
authorPaul Cercueil <paul@crapouillou.net>
Mon, 31 Oct 2016 20:39:48 +0000 (21:39 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 4 Nov 2016 23:00:49 +0000 (00:00 +0100)
commitf625c6c9a5b5cac56b94b088cc9e37862f15b1ae
tree171259398d85c0e02718ea9a9616500aeacfd3c3
parent01af9f0ebfddfaf55ffdef5235f776f79417b1fa
rtc: jz4740: Add support for acting as the system power controller

The 'system-power-controller' singleton entry can be used in the
devicetree node of the jz4740-rtc driver to specify that the driver is
granted the right to power off the system through the registers of the
RTC unit.

See the documentation for more details:
Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-jz4740.c