]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: rockchip: assign clock rate for cpll child clocks on rk3399
authorLin Huang <hl@rock-chips.com>
Tue, 20 Mar 2018 02:06:29 +0000 (10:06 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 16 Apr 2018 12:13:13 +0000 (14:13 +0200)
commite702e13f0b4ffbe3178a39bb878b37121cbd05e2
treebd5c10faed43ae72e893b128c0cb50fc904e52fd
parent7c573e3741e5b22112304bddb7534e8ad59cc146
arm64: dts: rockchip: assign clock rate for cpll child clocks on rk3399

These clocks do not assign default clock frequency, and use the
default cru register value to get frequency, so if cpll increase
frequency, these clocks also increase their frequency, that may
exceed their signed off frequency. So assign default clock for
them to avoid it.

NOTE: on none of the boards currently in mainline do we expect
CPLL to be anything other than 800 MHz, but some future boards
might have it. It's still good to be explicit about the clock
rates to make diffing against future boards easier and also to
rely less on BIOS muxing.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
arch/arm64/boot/dts/rockchip/rk3399.dtsi