rtc: ac100: Add clk output support
authorChen-Yu Tsai <wens@csie.org>
Fri, 8 Jul 2016 14:33:39 +0000 (22:33 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Aug 2016 11:54:05 +0000 (12:54 +0100)
commit04940631b8d2b2e57a13b6d4ca50dfe5994b514f
treef154f8e2c0433e939191d55eee1f46b9023d93e4
parentd00a18a42c1483924de086ddfb0efe8da1dba3ac
rtc: ac100: Add clk output support

The AC100's RTC side has 3 clock outputs on external pins, which can
provide a clock signal to the SoC or other modules, such as WiFi or
GSM modules.

Support this with a custom clk driver integrated with the rtc driver.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/rtc-ac100.c