]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1296962653d56679530fe7e3eba674d0647abb0
tree56b0293083715c235cef9e312434cfbc200e2497
parent78f54a8c4df4d0e7ca9d8ac14df863f1cfa97eb3
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