tegra: Add functions to access low-level Osc/PLL details
authorSimon Glass <sjg@chromium.org>
Mon, 2 Apr 2012 13:18:47 +0000 (13:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:37 +0000 (08:31 +0200)
commitffc76482c2d86ca29168527e57fb75c0ea08ec6d
tree3a238ea8f71feb6320c8e34ec296c1df2f905e9e
parentf9f3e1b8df9804c98a2a3077d0acb24247e0e74b
tegra: Add functions to access low-level Osc/PLL details

Add clock_ll_read_pll() to read PLL parameters and clock_get_osc_bypass()
to find out if the Oscillator is bypassed. These are needed by warmboot.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/clock.c
arch/arm/include/asm/arch-tegra2/clk_rst.h
arch/arm/include/asm/arch-tegra2/clock.h