+++ /dev/null
-From edabc77b0da4fc325a7b7f23cc79b58e5c44b9ea Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 10 Sep 2025 01:09:47 +0800
-Subject: clk: sunxi-ng: sun6i-rtc: Add A523 specifics
-
-From: Chen-Yu Tsai <wens@csie.org>
-
-[ 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 | 11 +++++++++++
- 1 file changed, 11 insertions(+)
-
-diff --git a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c
-index d65398497d5f6..e42348bda20f8 100644
---- a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c
-+++ b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c
-@@ -323,6 +323,13 @@ static const struct sun6i_rtc_match_data sun50i_r329_rtc_ccu_data = {
- .osc32k_fanout_nparents = ARRAY_SIZE(sun50i_r329_osc32k_fanout_parents),
- };
-
-+static const struct sun6i_rtc_match_data sun55i_a523_rtc_ccu_data = {
-+ .have_ext_osc32k = true,
-+ .have_iosc_calibration = true,
-+ .osc32k_fanout_parents = sun50i_r329_osc32k_fanout_parents,
-+ .osc32k_fanout_nparents = ARRAY_SIZE(sun50i_r329_osc32k_fanout_parents),
-+};
-+
- static const struct of_device_id sun6i_rtc_ccu_match[] = {
- {
- .compatible = "allwinner,sun50i-h616-rtc",
-@@ -332,6 +339,10 @@ static const struct of_device_id sun6i_rtc_ccu_match[] = {
- .compatible = "allwinner,sun50i-r329-rtc",
- .data = &sun50i_r329_rtc_ccu_data,
- },
-+ {
-+ .compatible = "allwinner,sun55i-a523-rtc",
-+ .data = &sun55i_a523_rtc_ccu_data,
-+ },
- {},
- };
-
---
-2.51.0
-