summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mmp/clk-gate.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: mmp: Convert to clk_hw based provider APIsStephen Boyd2015-08-251-2/+1Star
| | | | | | | | We're removing struct clk from the clk provider API, so switch this code to using the clk_hw based provider APIs. Cc: Chao Xie <chao.xie@marvell.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: mmp: add mmp private gate clockChao Xie2014-11-131-0/+133
Some SOCes have this kind of the gate clock 1. There are some bits to control the gate not only one bit. 2. It is not always that "1" is to enable while "0" is to disable when write register. So we have to define the "mask", "enable_val", "disable_val" for this kind of gate clock. Signed-off-by: Chao Xie <chao.xie@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>