rtc: sun6i: add support for R329 RTC
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 26 Jun 2022 04:27:56 +0000 (23:27 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 26 Jul 2022 09:17:01 +0000 (11:17 +0200)
commitb9d982385d0544132bc398b7a7e062d9a554d941
treeea175413ab898e3feab8a9ce85921e468d56aaf8
parent592ff0c8d0648610511f4e4fb532f100168e6e0d
rtc: sun6i: add support for R329 RTC

Allwinner R329 has a RTC with a similar time storage with H616 but a
slightly different clock part.

As we have already handled the R329 RTC clocks in the CCU driver, add a
compatible string to RTC driver to allow probing of the RTC.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220626042756.58961-1-samuel@sholland.org
drivers/rtc/rtc-sun6i.c