Skip to content

Commit 767881c

Browse files
MrVanstorulf
authored andcommitted
pmdomain: imx: scu-pd: correct DMA2 channel
Per "dt-bindings/firmware/imx/rsrc.h", `IMX_SC_R_DMA_2_CH0 + 5` not equals to IMX_SC_R_DMA_2_CH5, so there should be two entries in imx8qxp_scu_pd_ranges, otherwise the imx_scu_add_pm_domain may filter out wrong power domains. Fixes: 927b7d1 ("genpd: imx: scu-pd: enlarge PD range") Reported-by: Dong Aisheng <[email protected]> Signed-off-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent e2ad626 commit 767881c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/pmdomain/imx/scu-pd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
150150
{ "mclk-out-1", IMX_SC_R_MCLK_OUT_1, 1, false, 0 },
151151
{ "dma0-ch", IMX_SC_R_DMA_0_CH0, 32, true, 0 },
152152
{ "dma1-ch", IMX_SC_R_DMA_1_CH0, 16, true, 0 },
153-
{ "dma2-ch", IMX_SC_R_DMA_2_CH0, 32, true, 0 },
153+
{ "dma2-ch-0", IMX_SC_R_DMA_2_CH0, 5, true, 0 },
154+
{ "dma2-ch-1", IMX_SC_R_DMA_2_CH5, 27, true, 0 },
154155
{ "dma3-ch", IMX_SC_R_DMA_3_CH0, 32, true, 0 },
155156
{ "asrc0", IMX_SC_R_ASRC_0, 1, false, 0 },
156157
{ "asrc1", IMX_SC_R_ASRC_1, 1, false, 0 },

0 commit comments

Comments
 (0)