Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: i.MX5x: Add SAHARA clock for i.MX5x CPUs

Patch adds missing Security Accelerator (SAHARA) clock for i.MX5x CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

authored by

Alexander Shiyan and committed by
Shawn Guo
9b015e5a 5bcaa7a3

+3 -1
+1
Documentation/devicetree/bindings/clock/imx5-clock.txt
··· 198 198 spdif1_gate 184 199 199 spdif_ipg_gate 185 200 200 ocram 186 201 + sahara_ipg_gate 187 201 202 202 203 Examples (for mx53): 203 204
+2 -1
arch/arm/mach-imx/clk-imx51-imx53.c
··· 122 122 srtc_gate, pata_gate, sata_gate, spdif_xtal_sel, spdif0_sel, 123 123 spdif1_sel, spdif0_pred, spdif0_podf, spdif1_pred, spdif1_podf, 124 124 spdif0_com_s, spdif1_com_sel, spdif0_gate, spdif1_gate, spdif_ipg_gate, 125 - ocram, clk_max 125 + ocram, sahara_ipg_gate, clk_max 126 126 }; 127 127 128 128 static struct clk *clk[clk_max]; ··· 285 285 spdif0_com_sel, ARRAY_SIZE(spdif0_com_sel), CLK_SET_RATE_PARENT); 286 286 clk[spdif0_gate] = imx_clk_gate2("spdif0_gate", "spdif0_com_sel", MXC_CCM_CCGR5, 26); 287 287 clk[spdif_ipg_gate] = imx_clk_gate2("spdif_ipg_gate", "ipg", MXC_CCM_CCGR5, 30); 288 + clk[sahara_ipg_gate] = imx_clk_gate2("sahara_ipg_gate", "ipg", MXC_CCM_CCGR4, 14); 288 289 289 290 for (i = 0; i < ARRAY_SIZE(clk); i++) 290 291 if (IS_ERR(clk[i]))