]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: rockchip: adjust rk3568 pll clocks
authorPeter Geis <pgwipeout@gmail.com>
Wed, 28 Jul 2021 18:00:32 +0000 (14:00 -0400)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 29 Jul 2021 10:00:45 +0000 (12:00 +0200)
commit66a6450203e2e9bcaf6cb5938e7a9a159234722a
tree6bb36226464dd75bd410fee8b8b03c7b2a6a2ce2
parent6cdca5eb64c6eff6d552b475b6dc9182d84f2a31
arm64: dts: rockchip: adjust rk3568 pll clocks

The rk3568 gpll should run at 1200mhz and the ppll should run at 200mhz.
These are set incorrectly by the bootloader, so fix them here.

gpll boots at 1188mhz, but to get most accurate dividers for all
gpll_dividers it needs to run at 1200mhz, otherwise everyone downstream
isn't quite right.

ppll feeds the combophys, which has a divide by 2 clock, so 200mhz is
required to reach a 100mhz clock input for them.

The vendor-kernel also makes this fix.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
[pulled deeper explanation from discussion into commit message]
Link: https://lore.kernel.org/r/20210728180034.717953-7-pgwipeout@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk356x.dtsi