From: Frank Li <Frank.li@nxp.com>
To: Joy Zou <joy.zou@nxp.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Peng Fan <peng.fan@nxp.com>,
Ye Li <ye.li@nxp.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Subject: Re: [PATCH v2] arm64: dts: imx95: Reserve eDMA channels 0-1 for V2X
Date: Fri, 23 Jan 2026 09:54:38 -0500 [thread overview]
Message-ID: <aXOLrst3ZEJB6FZk@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20260123-b4-imx95-v2x-v2-1-0497a9814668@nxp.com>
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 <laurentiu.mihalcea@nxp.com>
> Tested-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
> Signed-off-by: Joy Zou <joy.zou@nxp.com>
> ---
> 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
> ---
> 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.
> 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
> };
>
> &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 <joy.zou@nxp.com>
>
prev parent reply other threads:[~2026-01-23 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 10:26 [PATCH v2] arm64: dts: imx95: Reserve eDMA channels 0-1 for V2X Joy Zou
2026-01-23 14:54 ` Frank Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXOLrst3ZEJB6FZk@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=joy.zou@nxp.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=laurentiu.mihalcea@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=ye.li@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox