diff options
| author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-01-11 02:46:26 -0500 |
|---|---|---|
| committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 13:19:07 -0500 |
| commit | 61fd290d213e25d5a119b8ca25644001ed9f8f2d (patch) | |
| tree | 16d8d1da34b5970985145c14cd6b8a624486abba /include/linux | |
| parent | b08e8c0ecc42afa3a2e1019851af741980dd5a6b (diff) | |
ARM: tegra: migrate to new clock code
Migrate Tegra clock support to drivers/clk/tegra, this involves
moving:
1. definition of tegra_cpu_car_ops to clk.c
2. definition of reset functions to clk-peripheral.c
3. change parent of cpu clock.
4. Remove legacy clock initialization.
5. Initialize clocks using DT.
6. Remove all instance of mach/clk.h
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
[swarren: use to_clk_periph_gate().]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk/tegra.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/clk/tegra.h b/include/linux/clk/tegra.h index 0977f2a24757..a7e5a3999099 100644 --- a/include/linux/clk/tegra.h +++ b/include/linux/clk/tegra.h | |||
| @@ -17,6 +17,8 @@ | |||
| 17 | #ifndef __LINUX_CLK_TEGRA_H_ | 17 | #ifndef __LINUX_CLK_TEGRA_H_ |
| 18 | #define __LINUX_CLK_TEGRA_H_ | 18 | #define __LINUX_CLK_TEGRA_H_ |
| 19 | 19 | ||
| 20 | #include <linux/clk.h> | ||
| 21 | |||
| 20 | /* | 22 | /* |
| 21 | * Tegra CPU clock and reset control ops | 23 | * Tegra CPU clock and reset control ops |
| 22 | * | 24 | * |
| @@ -120,5 +122,8 @@ static inline void tegra_cpu_clock_resume(void) | |||
| 120 | 122 | ||
| 121 | void tegra20_cpu_car_ops_init(void); | 123 | void tegra20_cpu_car_ops_init(void); |
| 122 | void tegra30_cpu_car_ops_init(void); | 124 | void tegra30_cpu_car_ops_init(void); |
| 125 | void tegra_periph_reset_deassert(struct clk *c); | ||
| 126 | void tegra_periph_reset_assert(struct clk *c); | ||
| 127 | void tegra_clocks_init(void); | ||
| 123 | 128 | ||
| 124 | #endif /* __LINUX_CLK_TEGRA_H_ */ | 129 | #endif /* __LINUX_CLK_TEGRA_H_ */ |
