OSDN Git Service

clk: rockchip: add a factor clock type
authorHeiko Stuebner <heiko@sntech.de>
Sat, 20 Jun 2015 11:08:57 +0000 (13:08 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 4 Feb 2016 14:49:09 +0000 (15:49 +0100)
commit29a30c269aba4223e2a8b443f443d7def1e43fea
tree6e378316dcebd11f449c771455091c0c0bacfa7d
parentaebe3ad801ebbcd90b3649c24ae0e90d2db8bde8
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>
drivers/clk/rockchip/clk.c
drivers/clk/rockchip/clk.h