diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-06-18 11:29:32 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-07-25 18:16:27 -0400 |
commit | 86be408bfbd846fab3c4ac21d6f9298bd2e4b790 (patch) | |
tree | 7fbcd8031f805c6faa8a55b7187bf9fd395664d7 /drivers/clk/Makefile | |
parent | 09575693a2511b5ddae0105546e0d9cefc936e34 (diff) |
clk: Support for clock parents and rates assigned from device tree
This patch adds helper functions to configure clock parents and rates
as specified through 'assigned-clock-parents', 'assigned-clock-rates'
DT properties for a clock provider or clock consumer device.
The helpers are now being called by the bus code for the platform, I2C
and SPI busses, before the driver probing and also in the clock core
after registration of a clock provider.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/Makefile')
-rw-r--r-- | drivers/clk/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 312742c10661..d5d325f28016 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile | |||
@@ -9,6 +9,9 @@ obj-$(CONFIG_COMMON_CLK) += clk-gate.o | |||
9 | obj-$(CONFIG_COMMON_CLK) += clk-mux.o | 9 | obj-$(CONFIG_COMMON_CLK) += clk-mux.o |
10 | obj-$(CONFIG_COMMON_CLK) += clk-composite.o | 10 | obj-$(CONFIG_COMMON_CLK) += clk-composite.o |
11 | obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o | 11 | obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o |
12 | ifeq ($(CONFIG_OF), y) | ||
13 | obj-$(CONFIG_COMMON_CLK) += clk-conf.o | ||
14 | endif | ||
12 | 15 | ||
13 | # hardware specific clock types | 16 | # hardware specific clock types |
14 | # please keep this section sorted lexicographically by file/directory path name | 17 | # please keep this section sorted lexicographically by file/directory path name |