From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
Gareth Williams <gareth.williams.jx@renesas.com>,
Phil Edworthy <phil.edworthy@renesas.com>,
Vinod Koul <vkoul@kernel.org>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
dmaengine <dmaengine@vger.kernel.org>,
Milan Stevanovic <milan.stevanovic@se.com>,
Jimmy Lalande <jimmy.lalande@se.com>,
Pascal Eberhard <pascal.eberhard@se.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Herve Codina <herve.codina@bootlin.com>,
Clement Leger <clement.leger@bootlin.com>,
Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
linux-clk <linux-clk@vger.kernel.org>,
Viresh Kumar <vireshk@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Ilpo Jarvinen <ilpo.jarvinen@linux.intel.com>,
Rob Herring <robh@kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [PATCH v11 8/9] ARM: dts: r9a06g032: Add the two DMA nodes
Date: Wed, 27 Apr 2022 11:38:05 +0200 [thread overview]
Message-ID: <20220427113805.45717559@xps13> (raw)
In-Reply-To: <CAMuHMdUdJtwOkYT86H5TneMmrVRDrsRqhhaxMp3ruyEkiG+XqA@mail.gmail.com>
Hi Geert,
geert@linux-m68k.org wrote on Wed, 27 Apr 2022 11:36:23 +0200:
> Hi Miquel,
>
> On Wed, Apr 27, 2022 at 11:14 AM Miquel Raynal
> <miquel.raynal@bootlin.com> wrote:
> > geert@linux-m68k.org wrote on Mon, 25 Apr 2022 18:29:58 +0200:
> > > On Thu, Apr 21, 2022 at 10:51 AM Miquel Raynal
> > > <miquel.raynal@bootlin.com> wrote:
> > > > Describe the two DMA controllers available on this SoC.
> > > >
> > > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > >
> > > Still, a few comments below, valid for both instances...
> > >
> > > > --- a/arch/arm/boot/dts/r9a06g032.dtsi
> > > > +++ b/arch/arm/boot/dts/r9a06g032.dtsi
> > > > @@ -200,6 +200,36 @@ nand_controller: nand-controller@40102000 {
> > > > status = "disabled";
> > > > };
> > > >
> > > > + dma0: dma-controller@40104000 {
> > > > + compatible = "renesas,r9a06g032-dma", "renesas,rzn1-dma";
> > > > + reg = <0x40104000 0x1000>;
> > > > + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
> > > > + clock-names = "hclk";
> > > > + clocks = <&sysctrl R9A06G032_HCLK_DMA0>;
> > > > + dma-channels = <8>;
> > > > + dma-requests = <16>;
> > > > + dma-masters = <1>;
> > > > + #dma-cells = <3>;
> > > > + block_size = <0xfff>;
> > > > + data_width = <3>;
> > >
> > > This property is deprecated, in favor of "dma-width".
> >
> > Indeed,
> > data_width = <3>;
> > is deprecated.
> >
> > However, dma-width does not seem to be described anywhere. Do you mean:
> > data-width = <8>;
> > instead?
>
> Oops, I did mean "data-width".
>
> > > > + status = "disabled";
> > >
> > > Why not keep it enabled?
> >
> > I'm used to always disable all the nodes from the SoC descriptions,
> > but it's true that for a DMA controller it might make sense to keep
> > it enabled.
> >
> > Would dropping the status property be enough or do you prefer a proper
> > status = "okay";
> > instead?
>
> Please just drop the status property, like is done in other Renesas .dtsi
> files.
Sure.
Thanks,
Miquèl
next prev parent reply other threads:[~2022-04-27 10:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 8:51 [PATCH v11 0/9] RZN1 DMA support Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 1/9] dt-bindings: dmaengine: Introduce RZN1 dmamux bindings Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 2/9] dt-bindings: clock: r9a06g032-sysctrl: Reference the DMAMUX subnode Miquel Raynal
2022-04-25 16:08 ` Geert Uytterhoeven
2022-04-27 8:49 ` Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 3/9] dt-bindings: dmaengine: Introduce RZN1 DMA compatible Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 4/9] soc: renesas: rzn1-sysc: Export function to set dmamux Miquel Raynal
2022-04-25 16:10 ` Geert Uytterhoeven
2022-04-21 8:51 ` [PATCH v11 5/9] dmaengine: dw: dmamux: Introduce RZN1 DMA router support Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 6/9] clk: renesas: r9a06g032: Probe possible children Miquel Raynal
2022-04-25 16:18 ` Geert Uytterhoeven
2022-04-27 9:02 ` Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 7/9] dmaengine: dw: Add RZN1 compatible Miquel Raynal
2022-04-21 8:51 ` [PATCH v11 8/9] ARM: dts: r9a06g032: Add the two DMA nodes Miquel Raynal
2022-04-25 16:29 ` Geert Uytterhoeven
2022-04-27 9:14 ` Miquel Raynal
2022-04-27 9:36 ` Geert Uytterhoeven
2022-04-27 9:38 ` Miquel Raynal [this message]
2022-04-21 8:51 ` [PATCH v11 9/9] ARM: dts: r9a06g032: Describe the DMA router Miquel Raynal
2022-04-25 16:32 ` Geert Uytterhoeven
2022-04-25 16:05 ` [PATCH v11 0/9] RZN1 DMA support Geert Uytterhoeven
2022-04-26 7:32 ` Miquel Raynal
2022-04-27 12:50 ` Geert Uytterhoeven
2022-04-27 15:45 ` Miquel Raynal
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=20220427113805.45717559@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=clement.leger@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gareth.williams.jx@renesas.com \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=herve.codina@bootlin.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jimmy.lalande@se.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=milan.stevanovic@se.com \
--cc=mturquette@baylibre.com \
--cc=pascal.eberhard@se.com \
--cc=phil.edworthy@renesas.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=vireshk@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).