Skip to content

Commit 2838820

Browse files
MrVanabelvesa
authored andcommitted
clk: imx: imx8qm/qxp: add more resources to whitelist
Add CAN_1/2 support for i.MX8QM Add M4_0, PI_0_PWM_0 and PI_0_I2C_0 for i.MX8QXP Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
1 parent eaefd1c commit 2838820

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

drivers/clk/imx/clk-imx8qm-rsrc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ static const u32 imx8qm_clk_scu_rsrc_table[] = {
4343
IMX_SC_R_FTM_0,
4444
IMX_SC_R_FTM_1,
4545
IMX_SC_R_CAN_0,
46+
IMX_SC_R_CAN_1,
47+
IMX_SC_R_CAN_2,
4648
IMX_SC_R_GPU_0_PID0,
4749
IMX_SC_R_GPU_1_PID0,
4850
IMX_SC_R_PWM_0,

drivers/clk/imx/clk-imx8qxp-rsrc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ static const u32 imx8qxp_clk_scu_rsrc_table[] = {
5858
IMX_SC_R_NAND,
5959
IMX_SC_R_LVDS_0,
6060
IMX_SC_R_LVDS_1,
61+
IMX_SC_R_M4_0_UART,
6162
IMX_SC_R_M4_0_I2C,
6263
IMX_SC_R_ELCDIF_PLL,
6364
IMX_SC_R_AUDIO_PLL_0,
6465
IMX_SC_R_PI_0,
66+
IMX_SC_R_PI_0_PWM_0,
67+
IMX_SC_R_PI_0_I2C_0,
6568
IMX_SC_R_PI_0_PLL,
6669
IMX_SC_R_MIPI_0,
6770
IMX_SC_R_MIPI_0_PWM_0,

0 commit comments

Comments
 (0)