clk: tegra: add Tegra specific clocks
Add Tegra specific clocks, pll, pll_out, peripheral, frac_divider, super.
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
[swarren: alloc sizeof(*foo) not sizeof(struct foo), add comments re:
storing pointers to stack variables, make a timeout loop more idiomatic,
use _clk_pll_disable() not clk_disable_pll() from _program_pll() to
avoid redundant lock operations, unified tegra_clk_periph() and
tegra_clk_periph_nodiv(), unified tegra_clk_pll{,e}, rename all clock
registration functions so they don't have the same name as the clock
structs, return -EINVAL from clk_plle_enable when matching table rate
not found, pass ops to _tegra_clk_register_pll rather than a bool.]
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2013-01-11 07:46:20 +00:00
|
|
|
obj-y += clk.o
|
|
|
|
obj-y += clk-audio-sync.o
|
|
|
|
obj-y += clk-divider.o
|
|
|
|
obj-y += clk-periph.o
|
|
|
|
obj-y += clk-periph-gate.o
|
|
|
|
obj-y += clk-pll.o
|
|
|
|
obj-y += clk-pll-out.o
|
|
|
|
obj-y += clk-super.o
|
2013-09-17 12:42:24 +00:00
|
|
|
obj-y += clk-tegra-audio.o
|
2013-09-04 14:04:19 +00:00
|
|
|
obj-y += clk-tegra-periph.o
|
2013-01-11 07:46:24 +00:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
|
2013-01-11 07:46:25 +00:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
|
2013-04-03 14:40:45 +00:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
|