clk: rockchip: use separate compatibles for rk3288w-cru
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Fri, 3 Jul 2020 15:49:48 +0000 (17:49 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Jul 2020 10:18:29 +0000 (12:18 +0200)
commit0a7f99aad259d223ce69c03e792c7e2bfcf8c2c6
treef1381197fc84024405ff475ee8b952fe306fbaea
parent00bd404144241155653bb0d0c15be51e4e6983aa
clk: rockchip: use separate compatibles for rk3288w-cru

Commit 1627f683636d ("clk: rockchip: Handle clock tree for rk3288w variant")
added the check for rk3288w-specific clock-tree changes but in turn would
require a double-compatible due to re-using the main rockchip,rk3288-cru
compatible as entry point.

The binding change actually describes the compatibles as one or the other
so adapt the code accordingly and add a real second entry-point for the
clock controller.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # rock-pi-n8
Link: https://lore.kernel.org/r/20200703154948.260369-1-heiko@sntech.de
drivers/clk/rockchip/clk-rk3288.c