rtc: pcf8563: add CLKOUT to common clock framework
authorHeiko Schocher <hs@denx.de>
Fri, 16 Oct 2015 11:31:29 +0000 (13:31 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:29 +0000 (14:12 +0100)
commita39a6405d5f949bc651694028a55d74c514ef1f9
treee4d7958c093e69a71233c55e91cf73a7c51f2239
parentdbb812b141f3bf3dbea75353da799da3d3373d53
rtc: pcf8563: add CLKOUT to common clock framework

Add the clkout output clk to the common clock framework.
Disable the CLKOUT of the RTC after power-up.
After power-up/reset of the RTC, CLKOUT is enabled by default,
with CLKOUT enabled the RTC chip has 2-3 times higher power
consumption.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/pcf8563.txt [new file with mode: 0644]
drivers/rtc/rtc-pcf8563.c