rockchip: rk3399: Initialize CPU B clock.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 30 Nov 2018 19:32:48 +0000 (20:32 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Nov 2018 20:56:45 +0000 (21:56 +0100)
commitaf765a49baac1191da1cf272a19d650d313c3314
treee9f8241998bd7f78943a64867ff6b6e59ffc0bd5
parenta73610d2c6dbfbc7383ae9d694b1412f57a3f398
rockchip: rk3399: Initialize CPU B clock.

This patch sets the PLL of CPU cluster B (BPLL) to 600 MHz.
This decreases the boot time of Linux 4.19 by about 8%.

The 600 MHz are inspired by the 600 MHz used for LPLL initialization
(came in with commit 9f636a249c1).

Tested on RK3399-Q7 on Haikou base board.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/cru_rk3399.h
drivers/clk/rockchip/clk_rk3399.c