diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-12-03 08:05:30 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-12-09 10:17:22 +0100 |
commit | fd9ffd8be01ad1e1204ed4aa2c43ef0a02e3dddc (patch) | |
tree | 8811342571da6f529025e1b64e1d5a865ac83871 /drivers/clk/sunxi/Makefile | |
parent | clk: sunxi: Add VE (Video Engine) module clock driver for sun[457]i (diff) | |
download | linux-fd9ffd8be01ad1e1204ed4aa2c43ef0a02e3dddc.tar.xz linux-fd9ffd8be01ad1e1204ed4aa2c43ef0a02e3dddc.zip |
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>
Diffstat (limited to 'drivers/clk/sunxi/Makefile')
-rw-r--r-- | drivers/clk/sunxi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile index 1a909f9024eb..3fd7901d48e4 100644 --- a/drivers/clk/sunxi/Makefile +++ b/drivers/clk/sunxi/Makefile @@ -17,6 +17,7 @@ obj-y += clk-sun9i-core.o obj-y += clk-sun9i-mmc.o obj-y += clk-usb.o +obj-$(CONFIG_MACH_SUN9I) += clk-sun8i-apb0.o obj-$(CONFIG_MACH_SUN9I) += clk-sun9i-cpus.o obj-$(CONFIG_MFD_SUN6I_PRCM) += \ |