mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Tested-by: Corentin Labbe <[email protected]> Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
9cd3558678
commit
459b6ea00a
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ static void __init sun6i_rtc_clk_init(struct device_node *node)
|
|||
struct sun6i_rtc_dev *rtc;
|
||||
struct clk_init_data init = {
|
||||
.ops = &sun6i_rtc_osc_ops,
|
||||
.name = "losc",
|
||||
};
|
||||
const char *clkout_name = "osc32k-out";
|
||||
const char *parents[2];
|
||||
|
|
|
|||
Loading…
Reference in a new issue