clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 24 Jul 2017 06:48:53 +0000 (14:48 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 1 Aug 2017 06:31:38 +0000 (14:31 +0800)
commit4bb19becb47096b297018404f45d672aee4d0de4
treee66c9b51151ca2d15ba580a780c48be49f091ddf
parent14fd93119220d7125b710d0e25a3ac09a0607ad4
clk: rockchip: rk3128: modify rk3128 clk driver to 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.

Change-Id: If9571da0a86067d814c225629a6b6f07f0270f14
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/clk/rockchip/clk-rk3128.c