Re: [PATCH] rtc: sun6i: Add support for RTC clocks on R40

From: Alexandre Belloni
Date: Tue Dec 10 2019 - 08:34:06 EST


On 05/12/2019 16:50:54+0800, Chen-Yu Tsai wrote:
> From: Chen-Yu Tsai <wens@xxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx> # 5.3.x
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
> ---
>
> Please merge this for fixes.
>
> ---
> drivers/rtc/rtc-sun6i.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com