clk: rockchip: add a clock-type for muxes based in the grf
authorHeiko Stuebner <heiko@sntech.de>
Mon, 26 Dec 2016 23:00:38 +0000 (00:00 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 2 Jan 2017 13:24:57 +0000 (14:24 +0100)
commitcb1d9f6ddaa436f2dce2710740b7a3546700949c
tree6195814ec1a044894fbea51b0caf6a88b3b16cee
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
clk: rockchip: add a clock-type for muxes based in the grf

Rockchip socs often have some tiny number of muxes not controlled from
the core clock controller but through bits set in the general register
files. Add a clock-type that can control these as well, so that we
don't need to work around them being absent.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/Makefile
drivers/clk/rockchip/clk-muxgrf.c [new file with mode: 0644]
drivers/clk/rockchip/clk.c
drivers/clk/rockchip/clk.h