]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: sunxi-ng: r40: Add max. rate constraint to video PLLs
authorJernej Skrabec <jernej.skrabec@siol.net>
Thu, 9 Aug 2018 16:52:15 +0000 (18:52 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 27 Aug 2018 07:18:09 +0000 (09:18 +0200)
commitb16fb66915fcfc6b1a7eb48225b6b30b69bb721b
treeecfd56a4d164a451cfa5986d6bb2ccfaa7d5cb5b
parent02d7901695afd1dcbec7182d878927893c07174e
clk: sunxi-ng: r40: Add max. rate constraint to video PLLs

Video PLLs on R40 can be set to higher rate that it is actually
supported by HW.

Limit maximum rate to 1008 MHz. This is the maximum allowed rate by BSP
clock driver. Interestengly, user manual specifies maximum frequency to
be 600 MHz. Historically, this data was wrong in some user manuals for
other SoCs, so more faith is put in BSP clock driver.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun8i-r40.c