]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: sunxi-ng: sun6i-rtc: Add A523 specifics
authorChen-Yu Tsai <wens@csie.org>
Tue, 9 Sep 2025 17:09:47 +0000 (01:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:36 +0000 (15:37 -0500)
commitcb6bfe5421cd13cde22ba958d59bb4fc039afcd9
treeb5cf5bb4ddecfb78918ead77b17b298fd2516829
parent2baa22558084ecfbc129de63dbaa779330d13352
clk: sunxi-ng: sun6i-rtc: Add A523 specifics

[ Upstream commit 7aa8781f379c32c31bd78f1408a31765b2297c43 ]

The A523's RTC block is backward compatible with the R329's, but it also
has a calibration function for its internal oscillator, which would
allow it to provide a clock rate closer to the desired 32.768 KHz. This
is useful on the Radxa Cubie A5E, which does not have an external 32.768
KHz crystal.

Add new compatible-specific data for it.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20250909170947.2221611-1-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/sunxi-ng/ccu-sun6i-rtc.c