Hi, igorpadykov
Thank you for your cooperation.
I solved my issue.
I modified 2 source files like below.
[clk-imx7d.c]
clks[IMX7D_CAN1_ROOT_CLK] = imx_clk_gate4("can1_root_clk", "can1_post_div", base + 0x4740, 0);
↓ modify
clks[IMX7D_CAN1_ROOT_CLK] = imx_clk_gate4_unused_ignore_for_m4("can1_root_clk", "can1_post_div", base + 0x4740, 0);
[clk.h]
static inline struct clk *imx_clk_gate4_unused_ignore_for_m4(const char *name, const char *parent,
void __iomem *reg, u8 shift)
{
if (imx_src_is_m4_enabled())
return clk_register_gate2(NULL, name, parent,
CLK_SET_RATE_PARENT | CLK_SET_RATE_GATE | CLK_OPS_PARENT_ENABLE | CLK_IGNORE_UNUSED,
reg, shift, 0x3, 0, &imx_ccm_lock, NULL);
else
return clk_register_gate2(NULL, name, parent,
CLK_SET_RATE_PARENT | CLK_SET_RATE_GATE | CLK_OPS_PARENT_ENABLE,
reg, shift, 0x3, 0, &imx_ccm_lock, NULL);
}
Thanks.