rtc: sun6i: Add support for the external oscillator gate
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 25 Aug 2017 07:42:02 +0000 (09:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 31 Aug 2017 23:10:19 +0000 (01:10 +0200)
commit17ecd246414b3a0fe0cb248c86977a8bda465b7b
tree56b0293083715c235cef9e312434cfbc200e2497
parentf22d9cdcb5eb7ed1c4629a167474d68df0003a3d
rtc: sun6i: Add support for the external oscillator gate

The RTC can output its 32kHz clock outside of the SoC, for example to clock
a WiFi chip.

Create a new clock that other devices will be able to retrieve, while
maintaining the DT stability by providing a default name for that clock if
clock-output-names doesn't list one.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
drivers/rtc/rtc-sun6i.c