From: Larisa Ileana Grigore <larisa.grigore@oss.nxp.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Frank Li <Frank.Li@nxp.com>, Vinod Koul <vkoul@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Peng Fan <peng.fan@nxp.com>
Cc: imx@lists.linux.dev, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
s32@nxp.com, Christophe Lizzi <clizzi@redhat.com>,
Alberto Ruiz <aruizrui@redhat.com>,
Enric Balletbo <eballetb@redhat.com>
Subject: Re: [PATCH] arm64: dts: s32g: add the eDMA nodes
Date: Mon, 3 Feb 2025 09:57:59 +0200 [thread overview]
Message-ID: <26f0459c-2eb5-46bf-9d55-8f830f9687ec@oss.nxp.com> (raw)
In-Reply-To: <ac1ea985-15cd-4001-9700-a185ceb338d7@kernel.org>
On 1/30/2025 10:48 AM, Krzysztof Kozlowski wrote:
> On 30/01/2025 08:29, Larisa Grigore wrote:
>> Add the two eDMA nodes in the device tree in order to enable the probing
>> of the S32G2/S32G3 eDMA driver.
>>
>> Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
>> ---
>> arch/arm64/boot/dts/freescale/s32g2.dtsi | 34 ++++++++++++++++++++++++
>> arch/arm64/boot/dts/freescale/s32g3.dtsi | 34 ++++++++++++++++++++++++
>> 2 files changed, 68 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
>> index 7be430b78c83..f73cd5a0906d 100644
>> --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
>> +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
>> @@ -317,6 +317,23 @@ usdhc0-200mhz-grp4 {
>> };
>> };
>>
>> + edma0: dma-controller@40144000 {
>> + #dma-cells = <2>;
>
> Any reason for not following DTS coding style in order of properties?
> This is odd style.
>
>> + compatible = "nxp,s32g2-edma";
>> + reg = <0x40144000 0x24000>,
>> + <0x4012c000 0x3000>,
>> + <0x40130000 0x3000>;
>> + dma-channels = <32>;
>> + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-names = "tx-0-15",
>> + "tx-16-31",
>> + "err";
>> + clock-names = "dmamux0", "dmamux1";
>> + clocks = <&clks 63>, <&clks 64>;
>> + };
>> +
>> uart0: serial@401c8000 {
>> compatible = "nxp,s32g2-linflexuart",
>> "fsl,s32v234-linflexuart";
>> @@ -333,6 +350,23 @@ uart1: serial@401cc000 {
>> status = "disabled";
>> };
>>
>> + edma1: dma-controller@40244000 {
>> + #dma-cells = <2>;
>> + compatible = "nxp,s32g2-edma";
>> + reg = <0x40244000 0x24000>,
>> + <0x4022c000 0x3000>,
>> + <0x40230000 0x3000>;
>> + dma-channels = <32>;
>> + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-names = "tx-0-15",
>> + "tx-16-31",
>> + "err";
>
> interrupts, then interrupt-names but:
>
>> + clock-names = "dmamux0", "dmamux1";
>> + clocks = <&clks 63>, <&clks 64>;
>
> here reversed.
>
Thank you for your feedback! I will address it in v2.
> Best regards,
> Krzysztof
Best regards,
Larisa
prev parent reply other threads:[~2025-02-03 7:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 7:29 [PATCH] arm64: dts: s32g: add the eDMA nodes Larisa Grigore
2025-01-30 8:48 ` Krzysztof Kozlowski
2025-02-03 7:57 ` Larisa Ileana Grigore [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=26f0459c-2eb5-46bf-9d55-8f830f9687ec@oss.nxp.com \
--to=larisa.grigore@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=aruizrui@redhat.com \
--cc=clizzi@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=eballetb@redhat.com \
--cc=imx@lists.linux.dev \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s32@nxp.com \
--cc=vkoul@kernel.org \
/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