ARM: tegra: Implement clk_m
authorThierry Reding <treding@nvidia.com>
Thu, 20 Aug 2015 09:42:19 +0000 (11:42 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 16 Sep 2015 23:10:22 +0000 (16:10 -0700)
commitc043c0259cd88f39cdca5f98af8b10f178660745
tree6def8ed72abc3fb8155956a6dff7f9c24fae3952
parent70bcb43e7d943f5f437e84594e0b890b0869be23
ARM: tegra: Implement clk_m

On currently supported SoCs, clk_m always runs at the same frequency as
the oscillator input. However newer SoC generations such as Tegra210 no
longer have that restriction. Prepare for that by separating clk_m from
the oscillator clock and allow SoC code to override the clk_m rate.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/include/asm/arch-tegra114/clock-tables.h
arch/arm/include/asm/arch-tegra124/clock-tables.h
arch/arm/include/asm/arch-tegra20/clock-tables.h
arch/arm/include/asm/arch-tegra210/clock-tables.h
arch/arm/include/asm/arch-tegra30/clock-tables.h
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/tegra210/clock.c