clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Dec 2015 07:05:30 +0000 (15:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 9 Dec 2015 09:17:22 +0000 (10:17 +0100)
commitfd9ffd8be01ad1e1204ed4aa2c43ef0a02e3dddc
tree8811342571da6f529025e1b64e1d5a865ac83871
parent3cdd9f5c4953465abb87ec757159cc0576ae6b0a
clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver

The APBS clock on sun9i is the same as the APB0 clock on sun8i. With
sun9i we are supporting the PRCM clocks by using CLK_OF_DECLARE,
instead of through a PRCM mfd device and subdevices for each clock
and reset control. As such we need a CLK_OF_DECLARE version of
the sun8i-a23-apb0-clk driver.

Also, build it for sun9i/A80, and not just for configurations with
MFD_SUN6I_PRCM enabled.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/Makefile
drivers/clk/sunxi/clk-sun8i-apb0.c