]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: sun6i: Add default clock name for LOSC
authorChen-Yu Tsai <wens@csie.org>
Mon, 3 Dec 2018 14:58:16 +0000 (22:58 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 6 Dec 2018 17:13:41 +0000 (18:13 +0100)
commitafb6d2cfe5d3163da510f481a6e897e4fff51658
tree4e73348b98b492fef6589103cfc6e33a0bbb8b84
parent7027432ff9f4e30c8fa88cd318c51bd91447b1fe
rtc: sun6i: Add default clock name for LOSC

The RTC's main clock, used internally and exported to the rest of the
SoC, is called "LOSC" (low speed oscillator) through the hardware
documentation.

This patch adds a default name for this clock, in case the device tree
does not provide one. This shouldn't happen, but lets play it safe.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sun6i.c