diff options
author | David Lechner <david@lechnology.com> | 2018-03-16 03:52:26 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-20 18:16:26 +0100 |
commit | c6ed4d734bc7f731709dab0ffd69eed499dd5277 (patch) | |
tree | 88e087646ed9fc7ac9c99eb8af3d368dbc9eac7a /drivers/clk/davinci/Makefile | |
parent | dt-bindings: clock: New bindings for TI Davinci PSC (diff) | |
download | linux-c6ed4d734bc7f731709dab0ffd69eed499dd5277.tar.xz linux-c6ed4d734bc7f731709dab0ffd69eed499dd5277.zip |
clk: davinci: New driver for davinci PSC clocks
This adds a new driver for mach-davinci PSC clocks. This is porting the
code from arch/arm/mach-davinci/psc.c to the common clock framework and
is converting it to use regmap to simplify the code. Additionally, it
adds device tree support for these clocks.
Note: although there are similar clocks for TI Keystone we are not able
to share the code for a few reasons. The keystone clocks are device tree
only and use legacy one-node-per-clock bindings. Also the keystone
driver makes the assumption that there is only one PSC per SoC and uses
global variables, but here we have two controllers per SoC.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/davinci/Makefile')
-rw-r--r-- | drivers/clk/davinci/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/davinci/Makefile b/drivers/clk/davinci/Makefile index d471386301be..cd1bf2cefc05 100644 --- a/drivers/clk/davinci/Makefile +++ b/drivers/clk/davinci/Makefile @@ -8,4 +8,6 @@ obj-$(CONFIG_ARCH_DAVINCI_DM355) += pll-dm355.o obj-$(CONFIG_ARCH_DAVINCI_DM365) += pll-dm365.o obj-$(CONFIG_ARCH_DAVINCI_DM644x) += pll-dm644x.o obj-$(CONFIG_ARCH_DAVINCI_DM646x) += pll-dm646x.o + +obj-y += psc.o endif |