u-boot-brain/arch/arm/cpu/tegra-common
Allen Martin a51f7de161 Tegra: clk: always use find_best_divider() for periph clocks
When adjusting peripheral clocks always use find_best_divider()
instead of clk_get_divider() even when a secondary divider is not
available.  In the case where is requested clock is too slow to be
derived from the parent clock this allows a best effort to get close
to the requested clock.

This comes up for commands like "sf" where the user can pass a clock
speed on the command line or "sspi" where the clock is hardcoded to
1MHz, but the Tegra114 SPI controller can't go that low.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2013-05-28 12:58:42 -07:00
..
ap.c Tegra: Split tegra_get_chip_type() into soc & sku funcs 2013-04-15 11:01:38 -07:00
board.c Tegra114: Add common CPU (shared) files 2013-02-11 10:35:25 -07:00
cache.c Tegra: Configure L2 cache control reg properly. 2013-04-15 11:01:38 -07:00
clock.c Tegra: clk: always use find_best_divider() for periph clocks 2013-05-28 12:58:42 -07:00
lowlevel_init.S Tegra20: Move some code files to common directories for upcoming Tegra30 patches. 2012-10-15 11:54:06 -07:00
Makefile Tegra: Configure L2 cache control reg properly. 2013-04-15 11:01:38 -07:00
sys_info.c Tegra30: Add common CPU (shared) files 2013-01-16 13:40:07 -07:00
timer.c arm: Move lastinc to arch_global_data 2013-02-01 15:07:50 -05:00