linux-stable/drivers/clk/sunxi/Makefile
Maxime Ripard 49c726d55c
clk: sunxi: Add Kconfig options
We used to have a clock framework that isn't really used these days, except
for a few clocks and/or SoCs. Most of the time, the new framework and
drivers (sunxi-ng) will provide everything needed for the customer devices
to operate properly.

Since we're not needing it that much, it might make sense to disable those
drivers, for example when we want to reduce the kernel size. Let's add
options in Kconfig that can be disabled if needed, but are still on by
default to keep the same features in the standard case.

Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2019-03-21 10:01:54 +01:00

34 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
#
# Makefile for sunxi specific clk
#
obj-$(CONFIG_CLK_SUNXI) += clk-factors.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sunxi.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-codec.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-hosc.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-mod1.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-pll2.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-ve.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a20-gmac.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-mod0.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-simple-gates.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun4i-display.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun4i-pll3.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun4i-tcon-ch1.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun8i-bus-gates.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun8i-mbus.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun9i-core.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun9i-mmc.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-usb.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun8i-apb0.o
obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun9i-cpus.o
obj-$(CONFIG_CLK_SUNXI_PRCM_SUN6I) += clk-sun6i-apb0.o
obj-$(CONFIG_CLK_SUNXI_PRCM_SUN6I) += clk-sun6i-apb0-gates.o
obj-$(CONFIG_CLK_SUNXI_PRCM_SUN6I) += clk-sun6i-ar100.o
obj-$(CONFIG_CLK_SUNXI_PRCM_SUN8I) += clk-sun8i-apb0.o
obj-$(CONFIG_CLK_SUNXI_PRCM_SUN8I) += clk-sun6i-apb0-gates.o