]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: clk: rk3188: Allow configuration of the armclk
authorHeiko Stübner <heiko@sntech.de>
Mon, 20 Mar 2017 11:40:32 +0000 (12:40 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
commit74f8eb75800dc63311e9643adf075974061713c0
tree3050f71c59bbef34b010e6fe10bc1dcab9c14047
parentea57881e6f9575da54f2bcabee723aa7b545c04d
rockchip: clk: rk3188: Allow configuration of the armclk

The armclk starts in slow mode (24MHz) on the rk3188, which makes the whole
startup take a lot of time. We therefore want to at least move to the safe
600MHz value we can use with default pmic settings.
This is also the freqency the proprietary sdram-init leaves the cpu at.

For boards that have pmic control later in u-boot, we also add the option
to set the maximum frequency of 1.6GHz, if they so desire.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/cru_rk3188.h
drivers/clk/rockchip/clk_rk3188.c