Re: [PATCH v2] arm64: dts: imx95: Reserve eDMA channels 0-1 for V2X
From: Frank Li <Frank.li@nxp.com>
Date: 2026-01-23 14:54:49
Also in:
imx, linux-devicetree, lkml
On Fri, Jan 23, 2026 at 06:26:27PM +0800, Joy Zou wrote:
Reserve eDMA channels 0 and 1 on the AXI eDMA controller for exclusive use by V2X (Vehicle-to-Everything) fast hash operations. Reviewed-by: Laurentiu Mihalcea <redacted> Tested-by: Laurentiu Mihalcea <redacted> Signed-off-by: Joy Zou <redacted> --- Changes in v2: - modify imx95-19x19-evk-sof.dts dma-channel-mask property. - add comments for mask channel. - add Reviewed-by and Tested-by tag, tested on MX95-15x15-FRDM, MX95-19x19-EVK. - Link to v1: https://lore.kernel.org/r/20260120-b4-imx95-v2x-v1-1-52b2025b27a0@nxp.com (local) --- arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts | 7 +++++-- arch/arm64/boot/dts/freescale/imx95.dtsi | 2 ++
common dtsi and board dts use two patch.
quoted hunk ↗ jump to hunk
2 files changed, 7 insertions(+), 2 deletions(-)diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts index 808a9fe3ebb2b9557be9e428583e76c32517de08..264703f6eef64813d64fe07713cf92fd02fa0778 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts@@ -55,8 +55,11 @@ sound-wm8962 { }; &edma2 { - /* channels 30 and 31 reserved for FW usage */ - dma-channel-mask = <0xc0000000>, <0x0>; + /* + * channels 0 and 1 reserved for V2X fast hash, + * channels 30 and 31 reserved for FW usage + */ + dma-channel-mask = <0xc0000003>, <0x0>;
Need add to commit message. Frank
quoted hunk ↗ jump to hunk
}; &sai3 {diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 55e2da094c889fc7c1096d0e36f31ae118d2a982..9ac82da2ff440e08ae8378d7ff830a568d50a354 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi@@ -631,6 +631,8 @@ edma2: dma-controller@42000000 { reg = <0x42000000 0x210000>; #dma-cells = <3>; dma-channels = <64>; + /* channels 0 and 1 reserved for V2X fast hash */ + dma-channel-mask = <0x3>; interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,--- base-commit: d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab change-id: 20260120-b4-imx95-v2x-3e01c7bc6881 Best regards, -- Joy Zou [off-list ref]