summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2016-03-10 03:16:47 +0100
committerShawn Guo <shawnguo@kernel.org>2016-03-31 11:01:55 +0200
commit456829228f96702ca281b65e11d11e8c09ca9da0 (patch)
tree65784e1d35f7199f9daf3cc363269a7982b48dfb /drivers/clk/imx/Makefile
parentclk: imx6sx: Register SAI clocks as shared clocks (diff)
downloadlinux-456829228f96702ca281b65e11d11e8c09ca9da0.tar.xz
linux-456829228f96702ca281b65e11d11e8c09ca9da0.zip
clk: imx: clk-gate2: allow custom gate configuration
The 2-bit gates found i.MX and Vybrid SoC support different clock configuration: 0b00: clk disabled 0b01: clk enabled in RUN mode but disabled in WAIT and STOP mode 0b10: clk enabled in RUN, WAIT and STOP mode (only Vybrid) 0b11: clk enabled in RUN and WAIT mode For some clocks, we might want to configure different behaviour, e.g. a memory clock should be on even in STOP mode. Add a new function imx_clk_gate2_cgr which allow to configure specific gate values through the cgr_val parameter. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx/Makefile')
0 files changed, 0 insertions, 0 deletions