[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230925204913.3776656-2-Frank.Li@nxp.com>
Date: Mon, 25 Sep 2023 16:49:07 -0400
From: Frank Li <Frank.Li@....com>
To: frank.li@....com, shawnguo@...nel.org
Cc: clin@...e.com, conor+dt@...nel.org, devicetree@...r.kernel.org,
eagle.zhou@....com, festevam@...il.com, imx@...ts.linux.dev,
joy.zou@....com, kernel@...gutronix.de,
krzysztof.kozlowski+dt@...aro.org, leoyang.li@....com,
linux-arm-kernel@...ts.infradead.org, linux-imx@....com,
linux-kernel@...r.kernel.org, pierre.gondois@....com,
robh+dt@...nel.org, s.hauer@...gutronix.de, shenwei.wang@....com,
sherry.sun@....com
Subject: [PATCH v2 1/7] genpd: imx: scu-pd: fixed dma2-ch domain defination
Split the 'dma2-ch' resource into two parts due to a gap between
IMX_SC_R_DMA_2_CH4(258) and IMX_SC_R_DMA_2_CH5(427).
Fixes: d4ea45e8a603 ("dt-bindings: imx: add scu resource id headfile")
Signed-off-by: Frank Li <Frank.Li@....com>
---
drivers/genpd/imx/scu-pd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c
index 2f693b67ddb4..891c1d925a9d 100644
--- a/drivers/genpd/imx/scu-pd.c
+++ b/drivers/genpd/imx/scu-pd.c
@@ -150,7 +150,8 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
{ "mclk-out-1", IMX_SC_R_MCLK_OUT_1, 1, false, 0 },
{ "dma0-ch", IMX_SC_R_DMA_0_CH0, 32, true, 0 },
{ "dma1-ch", IMX_SC_R_DMA_1_CH0, 16, true, 0 },
- { "dma2-ch", IMX_SC_R_DMA_2_CH0, 32, true, 0 },
+ { "dma2-ch-0", IMX_SC_R_DMA_2_CH0, 5, true, 0 },
+ { "dma2-ch-1", IMX_SC_R_DMA_2_CH5, 27, true, 0 },
{ "dma3-ch", IMX_SC_R_DMA_3_CH0, 32, true, 0 },
{ "asrc0", IMX_SC_R_ASRC_0, 1, false, 0 },
{ "asrc1", IMX_SC_R_ASRC_1, 1, false, 0 },
--
2.34.1
Powered by blists - more mailing lists