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 15:46:20 +08: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-01-11 15:46:24 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
|
2013-01-11 15:46:25 +08:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
|
2013-04-03 22:40:45 +08:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
|