Skip to content
Commit 6fffe52f authored by Peter Geis's avatar Peter Geis Committed by Heiko Stuebner
Browse files

clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types



The rk3036/rk3328 pll types were converted to checking the lock status
via the internal register in january 2020, so don't need the grf
reference since then.

But it was forgotten to remove grf check when deciding between the
pll rate ops (read-only vs. read-write), so a clock driver without
the needed grf reference might've been put into the read-only mode
just because the grf reference was missing.

This affected the rk356x that needs to reclock certain plls at boot.

Fix this by removing the check for the grf for selecting the utilized
operations.

Suggested-by: default avatarHeiko Stuebner <heiko@sntech.de>
Fixes: 7f6ffbb8 ("clk: rockchip: convert rk3036 pll type to use internal lock status")
Signed-off-by: default avatarPeter Geis <pgwipeout@gmail.com>
[adjusted the commit message, adjusted the fixes tag]
Link: https://lore.kernel.org/r/20210728180034.717953-3-pgwipeout@gmail.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent d4756536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment