[PATCH] rtc: sun6i: disable automatic clock input switching

Chen-Yu Tsai wens at csie.org
Wed Sep 4 07:46:57 PDT 2024


On Wed, Jul 31, 2024 at 3:49 AM Michael Walle <mwalle at kernel.org> wrote:
>
> The V3(s) will detect a valid external low frequency clock and if it is
> not present will automatically switch to the internal one. This might
> hide bugs and (hardware) configuration errors. It's even worse because
> the internal RTC runs significantly slower (32.000Hz vs 32.768Hz).
> Fortunately for us, the V3(s) has an (undocumented) bypass of this
> switching and the driver already supports it by setting the
> .has_auto_swt flag.
>
> Signed-off-by: Michael Walle <mwalle at kernel.org>

Acked-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-arm-kernel mailing list