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 14:46:20 +07: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 19:42:24 +07:00
|
|
|
obj-y += clk-tegra-audio.o
|
2013-09-04 21:04:19 +07:00
|
|
|
obj-y += clk-tegra-periph.o
|
2013-10-15 21:19:13 +07:00
|
|
|
obj-y += clk-tegra-pmc.o
|
|
|
|
obj-y += clk-tegra-fixed.o
|
2013-09-03 19:46:01 +07:00
|
|
|
obj-y += clk-tegra-super-gen4.o
|
2013-01-11 14:46:24 +07:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
|
2013-01-11 14:46:25 +07:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
|
2013-04-03 21:40:45 +07:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
|
2013-09-09 17:23:56 +07:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o
|