summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-02-02 10:34:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-02-06 07:34:03 +0100
commit2225c194edc1e2f71c0d8dc1c0c3b936d241060a (patch)
tree1d258cbdb19d5d9894b2161430d02cca20c1fb3f /drivers/clk/Makefile
parentbce79428773b87e0fe84be07048992c98249581a (diff)
downloadbarebox-2225c194edc1e2f71c0d8dc1c0c3b936d241060a.tar.gz
barebox-2225c194edc1e2f71c0d8dc1c0c3b936d241060a.tar.xz
clk: Add support for shared gates
Sometimes a single software control knob controls multiple gates in hardware. This patch adds support for shared gates which help coping this situation. The first gate is registered with the hardware gate as usual, the others are registered as shared gates which does not have hardware control itself, but only switches the real hardware gate. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/Makefile')
-rw-r--r--drivers/clk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index a4e4ed0241..5811d28b88 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -1,6 +1,7 @@
obj-$(CONFIG_COMMON_CLK) += clk.o clk-fixed.o clk-divider.o clk-fixed-factor.o \
clk-mux.o clk-gate.o clk-composite.o \
- clk-fractional-divider.o clk-conf.o
+ clk-fractional-divider.o clk-conf.o \
+ clk-gate-shared.o
obj-$(CONFIG_CLKDEV_LOOKUP) += clkdev.o
obj-$(CONFIG_ARCH_MVEBU) += mvebu/