diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2015-01-07 02:09:29 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-01-13 06:16:26 -0500 |
commit | c205389557aac828f8403db0368d1fc2ef859213 (patch) | |
tree | 706bf7ead0c986289a05a66a244e3ff060c2d6b8 /arch/arm/mach-imx/clk-vf610.c | |
parent | 6f540db781cf4416e348d20d63eb121f5bf1fb24 (diff) |
ARM: imx: clk-vf610: Add clock for SNVS
Add support for clock gating of the SNVS peripheral.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-vf610.c')
-rw-r--r-- | arch/arm/mach-imx/clk-vf610.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch/arm/mach-imx/clk-vf610.c index af338d23e6e7..61876ed6e11e 100644 --- a/arch/arm/mach-imx/clk-vf610.c +++ b/arch/arm/mach-imx/clk-vf610.c | |||
@@ -382,6 +382,8 @@ static void __init vf610_clocks_init(struct device_node *ccm_node) | |||
382 | clk[VF610_CLK_DMAMUX2] = imx_clk_gate2("dmamux2", "platform_bus", CCM_CCGR6, CCM_CCGRx_CGn(1)); | 382 | clk[VF610_CLK_DMAMUX2] = imx_clk_gate2("dmamux2", "platform_bus", CCM_CCGR6, CCM_CCGRx_CGn(1)); |
383 | clk[VF610_CLK_DMAMUX3] = imx_clk_gate2("dmamux3", "platform_bus", CCM_CCGR6, CCM_CCGRx_CGn(2)); | 383 | clk[VF610_CLK_DMAMUX3] = imx_clk_gate2("dmamux3", "platform_bus", CCM_CCGR6, CCM_CCGRx_CGn(2)); |
384 | 384 | ||
385 | clk[VF610_CLK_SNVS] = imx_clk_gate2("snvs-rtc", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(7)); | ||
386 | |||
385 | imx_check_clocks(clk, ARRAY_SIZE(clk)); | 387 | imx_check_clocks(clk, ARRAY_SIZE(clk)); |
386 | 388 | ||
387 | clk_set_parent(clk[VF610_CLK_QSPI0_SEL], clk[VF610_CLK_PLL1_PFD4]); | 389 | clk_set_parent(clk[VF610_CLK_QSPI0_SEL], clk[VF610_CLK_PLL1_PFD4]); |