clk: rockchip: add a COMPOSITE_DIV_OFFSET clock-type
authorFinley Xiao <finley.xiao@rock-chips.com>
Wed, 3 Apr 2019 09:42:26 +0000 (17:42 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 12 Apr 2019 20:34:18 +0000 (22:34 +0200)
commit1f55660ff805224b4a532cfd5650753f0ed8dbeb
treea48077c4cbab65d6e1e7c2df8308e66ff9b3400d
parent57a20248ef3e429dc822f0774bc4e00136c46c83
clk: rockchip: add a COMPOSITE_DIV_OFFSET clock-type

The div offset of some clocks are different from their mux offset
and the COMPOSITE clock-type require that div and mux offset are
the same, so add a new COMPOSITE_DIV_OFFSET clock-type to handle that.

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