Thierry Reding 63cc5a4da1 clk: tegra: Model oscillator as clock
Currently the Tegra clock driver simplifies the clock tree somewhat by
taking advantage of the fact that clk_m runs at the same frequency as
the oscillator. While that's true on all currently supported SoCs, it
does not apply to Tegra210 anymore. On Tegra210 clk_m is typically
divided down from the oscillator frequency. To support that setup, add
a separate clock for the oscillator that both clk_m and pll_ref derive
from.

Modify the tegra_osc_clk_init() function to take an additional divider
parameter for clk_m. Existing SoCs always pass in 1, whereas Tegra210
will read the divider from a register in the clock & reset controller.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2015-04-10 16:04:20 +02:00
..
2015-02-02 14:23:42 -08:00
2015-02-02 14:23:42 -08:00
2015-02-02 14:23:42 -08:00
2015-01-20 10:10:51 -08:00
2014-07-28 23:30:46 -07:00
2013-05-31 12:07:45 -07:00
2014-05-27 18:29:04 -07:00
2015-01-20 10:10:51 -08:00