UPSTREAM: clk: rockchip: add a factor clock type
authorHeiko Stuebner <heiko@sntech.de>
Sat, 20 Jun 2015 11:08:57 +0000 (13:08 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 1 Mar 2016 09:11:44 +0000 (17:11 +0800)
commit5dacd5fa113fda937e03236478e5c0014a2fa664
tree8a8ca9199111340b6199f8622f45b5ffed58ce38
parent4db3d2b3f5f1457120ed0d34232b407b3dbae860
UPSTREAM: clk: rockchip: add a factor clock type

Add a clock type for fixed factor clocks. This allows us to define fixed
factor clocks where they appear in the clock hierarchy instead of in the
init function.

The additional factor_gate type, finally allows us to model some last
parts of the clock tree correctly.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit 29a30c269aba4223e2a8b443f443d7def1e43fea)

Change-Id: Ie4ec8b9d9199cdbe0be045c2ed4c270029e37949
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
drivers/clk/rockchip/clk.c
drivers/clk/rockchip/clk.h