Skip to content

Commit cfda066

Browse files
MrVanShawn Guo
authored andcommitted
firmware: imx: scu-pd: add more cm4 resources
Add more cm4 resources, then linux could use cm4's i2c/lpuart and could kick cm4 core. Reviewed-by: Dong Aisheng <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 169caf6 commit cfda066

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

drivers/firmware/imx/scu-pd.c

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,18 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
167167
{ "dc0-pll", IMX_SC_R_DC_0_PLL_0, 2, true, 0 },
168168

169169
/* CM40 SS */
170-
{ "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 },
171-
{ "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, false, 0 },
170+
{ "cm40-i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 },
171+
{ "cm40-intmux", IMX_SC_R_M4_0_INTMUX, 1, false, 0 },
172+
{ "cm40-pid", IMX_SC_R_M4_0_PID0, 5, true, 0},
173+
{ "cm40-mu-a1", IMX_SC_R_M4_0_MU_1A, 1, false, 0},
174+
{ "cm40-lpuart", IMX_SC_R_M4_0_UART, 1, false, 0},
175+
176+
/* CM41 SS */
177+
{ "cm41-i2c", IMX_SC_R_M4_1_I2C, 1, false, 0 },
178+
{ "cm41-intmux", IMX_SC_R_M4_1_INTMUX, 1, false, 0 },
179+
{ "cm41-pid", IMX_SC_R_M4_1_PID0, 5, true, 0},
180+
{ "cm41-mu-a1", IMX_SC_R_M4_1_MU_1A, 1, false, 0},
181+
{ "cm41-lpuart", IMX_SC_R_M4_1_UART, 1, false, 0},
172182
};
173183

174184
static const struct imx_sc_pd_soc imx8qxp_scu_pd = {

0 commit comments

Comments
 (0)