Skip to content

Commit 927b7d1

Browse files
MrVanstorulf
authored andcommitted
genpd: imx: scu-pd: enlarge PD range
There are 5 LPI2C, 5 LPUART and 32 DMA0 Channel resources per imx_rsrc.h, and they are in i.MX8QM, so enlarge the PD range for them. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent b683a36 commit 927b7d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/genpd/imx/scu-pd.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
121121
{ "audio-pll1", IMX_SC_R_AUDIO_PLL_1, 1, false, 0 },
122122
{ "audio-clk-0", IMX_SC_R_AUDIO_CLK_0, 1, false, 0 },
123123
{ "audio-clk-1", IMX_SC_R_AUDIO_CLK_1, 1, false, 0 },
124-
{ "dma0-ch", IMX_SC_R_DMA_0_CH0, 16, true, 0 },
124+
{ "dma0-ch", IMX_SC_R_DMA_0_CH0, 32, true, 0 },
125125
{ "dma1-ch", IMX_SC_R_DMA_1_CH0, 16, true, 0 },
126-
{ "dma2-ch", IMX_SC_R_DMA_2_CH0, 5, true, 0 },
126+
{ "dma2-ch", IMX_SC_R_DMA_2_CH0, 32, true, 0 },
127127
{ "asrc0", IMX_SC_R_ASRC_0, 1, false, 0 },
128128
{ "asrc1", IMX_SC_R_ASRC_1, 1, false, 0 },
129129
{ "esai0", IMX_SC_R_ESAI_0, 1, false, 0 },
@@ -143,11 +143,11 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
143143
/* DMA SS */
144144
{ "can", IMX_SC_R_CAN_0, 3, true, 0 },
145145
{ "ftm", IMX_SC_R_FTM_0, 2, true, 0 },
146-
{ "lpi2c", IMX_SC_R_I2C_0, 4, true, 0 },
146+
{ "lpi2c", IMX_SC_R_I2C_0, 5, true, 0 },
147147
{ "adc", IMX_SC_R_ADC_0, 2, true, 0 },
148148
{ "lcd", IMX_SC_R_LCD_0, 1, true, 0 },
149149
{ "lcd0-pwm", IMX_SC_R_LCD_0_PWM_0, 1, true, 0 },
150-
{ "lpuart", IMX_SC_R_UART_0, 4, true, 0 },
150+
{ "lpuart", IMX_SC_R_UART_0, 5, true, 0 },
151151
{ "lpspi", IMX_SC_R_SPI_0, 4, true, 0 },
152152
{ "irqstr_dsp", IMX_SC_R_IRQSTR_DSP, 1, false, 0 },
153153

0 commit comments

Comments
 (0)