[PATCH v5 7/7] arm64: dts: imx95: convert eDMA to per-channel child nodes

Peng Fan peng.fan at oss.nxp.com
Wed Nov 11 16:57:20 PST 2026


On Wed, Nov 11, 2026 at 11:59:29AM -0600, Frank Li wrote:
>On Wed, Nov 11, 2026 at 09:47:35PM +0800, Peng Fan (OSS) wrote:
>> From: Peng Fan <peng.fan at nxp.com>
>>
>> Convert edma2 and edma3 from flat interrupt arrays at the parent node
>> to per-channel child nodes (dma-channel@<addr>). Each child carries
>> its own reg (real per-channel MMIO region) and interrupts property.
>>
>> edma2 (64 channels at 0x42000000):
>>   - Channel N at 0x42010000 + N * 0x8000 (size 0x8000)
>>   - Paired interrupts: SPI 128-159, two channels per SPI
>>
>> edma3 (64 channels at 0x42210000):
>>   - Channel N at 0x42220000 + N * 0x8000 (size 0x8000)
>>   - Paired interrupts: SPI 256-287, two channels per SPI
>>
>> edma1 (imx93-edma3, 31 channels with 1:1 non-paired interrupts) is
>> left unchanged as it uses a different interrupt scheme.
>>
>> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>> ---
>>  arch/arm64/boot/dts/freescale/imx95.dtsi | 774 ++++++++++++++++++++++++++-----
>>  1 file changed, 646 insertions(+), 128 deletions(-)
>>
>...
>> -					     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
>> -					     <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
>>  				clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
>>  				clock-names = "dma";
>> +
>> +				dma-channel at 42010000 {
>> +					reg = <0x42010000 0x8000>;
>> +					interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
>> +				};
>
>where iommu informaiton?

The shared stream id patchset [1] is still under reviewing, so not add iommus
property.

But the two patchsets are orthogonal. This patchset just needs [1] to test
shared stream IDs, otherwise stream IDs will be exhausted.

[1]https://lore.kernel.org/all/20261030-smmu-shared-sid-ver7-2026-10-26-v7-0-961726ebd6ab@Example.Com/

Thanks
Peng

>
>Frank
>
>



More information about the linux-arm-kernel mailing list