ARM: OMAP1: Move dpll1 rates selection from config to runtime
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Fri, 9 Dec 2011 02:01:41 +0000 (18:01 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 9 Dec 2011 02:02:23 +0000 (18:02 -0800)
commit24ce2705c2dd50e51f325c6e57dec378adc8c135
tree9f0688dae115c48d87ea8cda615a64831fb3c80d
parentee62e93a3c135ae18f2fa18615ce065fe5487259
ARM: OMAP1: Move dpll1 rates selection from config to runtime

For still better multi-OMAP1 support, expand omap1_rate_table with flags
for different SoC types and match them while selecting clock rates. The
idea is stolen from current omap24xx clock rate selection algorithm.

Since clkdev platform flag definitions are reused here, those had to be
expanded with one extra entry for OMAP1710 subtype, as this is the only
SoC for which we allow selection of the highest, 216 MHz rate.

Once done, remove no longer needed clock rate configure time options.

Tested on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/configs/omap1_defconfig
arch/arm/mach-omap1/Kconfig
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/clock.h
arch/arm/mach-omap1/clock_data.c
arch/arm/mach-omap1/opp.h
arch/arm/mach-omap1/opp_data.c
arch/arm/plat-omap/include/plat/clkdev_omap.h
This page took 0.051915 seconds and 5 git commands to generate.