tegra20: add clock_set_pllout function
authorLucas Stach <dev@lynxeye.de>
Tue, 25 Sep 2012 20:21:13 +0000 (20:21 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:07 +0000 (11:54 -0700)
commit65530a842eeaf7ad07e0613ac6f883f2f1f1e33f
tree01e704c3bbf59d1c5f7be1ba55ae8dcf656a5128
parent3f44e44f33899821c4703c3bd5f9c117bb328e8b
tegra20: add clock_set_pllout function

Common practice on Tegra 2 boards is to use the pllp_out4 FO
to generate the ULPI reference clock. For this to work we have
to override the default hardware generated output divider.

This function adds a clean way to do so.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra20-common/clock.c
arch/arm/cpu/tegra20-common/warmboot_avp.c
arch/arm/include/asm/arch-tegra/clk_rst.h
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/include/asm/arch-tegra20/clock-tables.h