Skip to content

Commit f968045

Browse files
Tero Kristobebarino
authored andcommitted
clk: ti: omap5: Add proper parent clocks for l4-secure clocks
L4 secure clocks do not have their parents set currently, which ends them up to the orphan clock list. Fix this by adding either l3 or l4 clock as their parent. Signed-off-by: Tero Kristo <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 74c0ac1 commit f968045

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/clk/ti/clk-54xx.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@ static const struct omap_clkctrl_reg_data omap5_l4per_clkctrl_regs[] __initconst
303303

304304
static const struct
305305
omap_clkctrl_reg_data omap5_l4_secure_clkctrl_regs[] __initconst = {
306-
{ OMAP5_AES1_CLKCTRL, NULL, CLKF_HW_SUP, "" },
307-
{ OMAP5_AES2_CLKCTRL, NULL, CLKF_HW_SUP, "" },
308-
{ OMAP5_DES3DES_CLKCTRL, NULL, CLKF_HW_SUP, "" },
309-
{ OMAP5_FPKA_CLKCTRL, NULL, CLKF_SW_SUP, "" },
310-
{ OMAP5_RNG_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_NONSEC, "" },
311-
{ OMAP5_SHA2MD5_CLKCTRL, NULL, CLKF_HW_SUP, "" },
312-
{ OMAP5_DMA_CRYPTO_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_NONSEC, "" },
306+
{ OMAP5_AES1_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
307+
{ OMAP5_AES2_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
308+
{ OMAP5_DES3DES_CLKCTRL, NULL, CLKF_HW_SUP, "l4_root_clk_div" },
309+
{ OMAP5_FPKA_CLKCTRL, NULL, CLKF_SW_SUP, "l4_root_clk_div" },
310+
{ OMAP5_RNG_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_NONSEC, "l4_root_clk_div" },
311+
{ OMAP5_SHA2MD5_CLKCTRL, NULL, CLKF_HW_SUP, "l3_iclk_div" },
312+
{ OMAP5_DMA_CRYPTO_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_SOC_NONSEC, "l3_iclk_div" },
313313
{ 0 },
314314
};
315315

0 commit comments

Comments
 (0)