clk: rockchip: convert rk3036 pll type to use internal lock status
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 29 Jan 2020 16:38:21 +0000 (17:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 15 Jun 2020 09:47:16 +0000 (11:47 +0200)
commit7f6ffbb885d147557bdca471c37b7b1204005798
tree266daffb9ccefba5c8cbba7372a1e88e73e69e29
parent3507df1a4615113ae6509e0f14f6546f0d1c84b4
clk: rockchip: convert rk3036 pll type to use internal lock status

The rk3036 pll type exposes its lock status in both its pllcon registers
as well as the General Register Files. To remove one dependency convert
it to the "internal" lock status, similar to how rk3399 handles it.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20200129163821.1547295-3-heiko@sntech.de
drivers/clk/rockchip/clk-pll.c