summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mt6397.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2019-12-05 16:50:54 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-12-10 14:32:10 +0100
commit111bf02b8f544f98de53ea1f912ae01f598b161b (patch)
tree5ac3316febc64aea8875f6be5db567c39e488cd0 /drivers/rtc/rtc-mt6397.c
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-stable-111bf02b8f544f98de53ea1f912ae01f598b161b.tar.gz
linux-stable-111bf02b8f544f98de53ea1f912ae01f598b161b.tar.bz2
linux-stable-111bf02b8f544f98de53ea1f912ae01f598b161b.zip
rtc: sun6i: Add support for RTC clocks on R40
When support for the R40 in the rtc-sun6i driver was split out for a separate compatible string, only the RTC half was covered, and not the clock half. Unfortunately this results in the whole driver not working, as the RTC half expects the clock half to have been initialized. Add support for the clock part as well. The clock part is like the H3, but does not need to export the internal oscillator, nor does it have a gateable LOSC external output. This fixes issues with WiFi and Bluetooth not working on the BPI M2U. Fixes: d6624cc75021 ("rtc: sun6i: Add R40 compatible") Cc: <stable@vger.kernel.org> # 5.3.x Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20191205085054.6049-1-wens@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-mt6397.c')
0 files changed, 0 insertions, 0 deletions