clk: sunxi-ng: sun6i-rtc: Add support for H6
authorSamuel Holland <samuel@sholland.org>
Thu, 3 Feb 2022 02:17:36 +0000 (20:17 -0600)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:38 +0000 (19:58 +0100)
commit1738890a3165ccd0da98ebd3e2d5f9b230d5afa8
tree94568120b3c194eac5559c2bfa9f776c0613b82b
parentd91612d7f01aca454469976d25db761c5085ae4d
clk: sunxi-ng: sun6i-rtc: Add support for H6

H6 supports IOSC calibration and an ext-osc32k input. Unlike newer SoCs,
it has a single parent for its fanout clock.

Add support for H6 in the CCU driver, replacing the support in the
existing early OF clock provider.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220203021736.13434-7-samuel@sholland.org
drivers/clk/sunxi-ng/ccu-sun6i-rtc.c
drivers/rtc/rtc-sun6i.c