Commit Message

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>
---
arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 1 +
drivers/clk/rockchip/clk_rk3188.c | 63 +++++++++++++++++++++++++
2 files changed, 64 insertions(+)

Comments

On 20 March 2017 at 05:40, Heiko Stuebner <heiko@sntech.de> wrote:
> 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>> ---> arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 1 +> drivers/clk/rockchip/clk_rk3188.c | 63 +++++++++++++++++++++++++> 2 files changed, 64 insertions(+)
Acked-by: Simon Glass <sjg@chromium.org>

On 23 March 2017 at 21:27, Simon Glass <sjg@chromium.org> wrote:
> On 20 March 2017 at 05:40, Heiko Stuebner <heiko@sntech.de> wrote:>> 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>>> --->> arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 1 +>> drivers/clk/rockchip/clk_rk3188.c | 63 +++++++++++++++++++++++++>> 2 files changed, 64 insertions(+)>> Acked-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-rockchip, thanks!