Skip to content

Commit 018e430

Browse files
ndreysShawn Guo
authored andcommitted
clk: imx: vf610: add CAAM clock
According to Vybrid Security RM, CCM_CCGR11[CG176] can be used to gate CAAM ipg clock. Signed-off-by: Horia Geantă <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> Cc: Chris Healy <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Tested-by: Chris Healy <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 94ae59a commit 018e430

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drivers/clk/imx/clk-vf610.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ static void __init vf610_clocks_init(struct device_node *ccm_node)
438438
clk[VF610_CLK_SNVS] = imx_clk_gate2("snvs-rtc", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(7));
439439
clk[VF610_CLK_DAP] = imx_clk_gate("dap", "platform_bus", CCM_CCSR, 24);
440440
clk[VF610_CLK_OCOTP] = imx_clk_gate("ocotp", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(5));
441+
clk[VF610_CLK_CAAM] = imx_clk_gate2("caam", "ipg_bus", CCM_CCGR11, CCM_CCGRx_CGn(0));
441442

442443
imx_check_clocks(clk, ARRAY_SIZE(clk));
443444

include/dt-bindings/clock/vf610-clock.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
#define VF610_CLK_WKPU 186
196196
#define VF610_CLK_TCON0 187
197197
#define VF610_CLK_TCON1 188
198-
#define VF610_CLK_END 189
198+
#define VF610_CLK_CAAM 189
199+
#define VF610_CLK_END 190
199200

200201
#endif /* __DT_BINDINGS_CLOCK_VF610_H */

0 commit comments

Comments
 (0)