clk: rockchip: modify rk3128 clk driver to also support rk3126
authorElaine Zhang <zhangqing@rock-chips.com>
Tue, 1 Aug 2017 01:17:03 +0000 (09:17 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Aug 2017 15:30:29 +0000 (17:30 +0200)
commit334614058886fc5002dbfa2c4c72f89b3830f7e1
tree1377d1f3e5e03778e1fd3ea5100d01e880f2f704
parent6d4ce2b7d90e24e07ec7f763043b90eda22c8351
clk: rockchip: modify rk3128 clk driver to also support rk3126

rk3128 and rk3126 have some gate registers describe differences.
So need to make some distinctions.
The RK3126 and RK3128 Same clock description we move it to
the common clock branches.
And the different clks description use the own clock branches.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3128.c