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)
commit459b6ea00acccaac9cd25ba12d55b5fe7d8583df
tree4e73348b98b492fef6589103cfc6e33a0bbb8b84
parent9cd3558678385329709b6d52f639d1f918e04aae
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