From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Boyd <sboyd@kernel.org>,
Gareth Williams <gareth.williams.jx@renesas.com>,
Magnus Damm <magnus.damm@gmail.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>,
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>
Subject: Re: [PATCH v8 0/9] RZN1 DMA support
Date: Tue, 12 Apr 2022 09:43:38 +0200 [thread overview]
Message-ID: <20220412094338.382e8754@xps13> (raw)
In-Reply-To: <CAMuHMdVpfHuJi1+bm2jvsz8ZpMn8u=5bNYqHBRv7DYykyrC-XQ@mail.gmail.com>
Hi Geert,
geert@linux-m68k.org wrote on Tue, 12 Apr 2022 09:37:22 +0200:
> Hi Miquel,
>
> On Tue, Apr 12, 2022 at 9:32 AM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
> > geert@linux-m68k.org wrote on Mon, 11 Apr 2022 17:09:50 +0200:
> > > On Thu, Apr 7, 2022 at 10:16 AM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
> > > > sboyd@kernel.org wrote on Wed, 06 Apr 2022 17:45:09 -0700:
> > > > > Quoting Miquel Raynal (2022-04-06 09:18:47)
> > > > > > Here is a first series bringing DMA support to RZN1 platforms. Soon a
> > > > > > second series will come with changes made to the UART controller
> > > > > > driver, in order to interact with the RZN1 DMA controller.
> > > > > >
> > > > > > Stephen acked the sysctrl patch (in the clk driver) but somehow I feel
> > > > > > like it would be good to have this patch applied on both sides
> > > > > > (dmaengine and clk) because more changes will depend on the addition of
> > > > > > this helper, that are not related to DMA at all. I'll let you folks
> > > > > > figure out what is best.
> > > > >
> > > > > Are you sending more patches in the next 7 weeks or so that will touch
> > > > > the same area? If so, then it sounds like I'll need to take the clk
> > > > > patch through clk tree. I don't know what is best because I don't have
> > > > > the information about what everyone plans to do in that file.
> > > >
> > > > This series brings DMA support and needs to access the dmamux registers
> > > > that are in the sysctrl area.
> > > >
> > > > I've sent an RTC series which needs to access this area as well, but
> > > > it is not fully ready yet as it was advised to go for a reset
> > > > controller in this case. The reset controller would be registered by
> > > > the clock driver, so yes it would touch the same file.
> > > >
> > > > Finally, there is an USB series that is coming soon, I don't know if
> > > > it will be ready for merge for 5.19, but it needs to access a specific
> > > > register in this area as well (h2mode).
> > > >
> > > > So provided that we are able to contribute this reset driver quickly
> > > > enough, I would argue that it is safer to merge the clk changes in the
> > > > clk tree.
> > >
> > > The clk tree or the renesas-clk tree? ;-)
> >
> > Actually I forgot about this tree, would you mind to merge *all* the
> > patches that depend on the sysctrl changes in the renesas/renesas-clk
> > tree? This also stands for the UART and RTC for instance. Otherwise
> > you'll need to set up immutable branches and share them with the
> > dmaengine, serial and rtc trees. I'm fine either way, it's just much
> > less work in the first situation IMHO.
>
> Sure, I can do that, given acks from the DMA, UART, and RTC
> maintainers.
Ok, I'll say so in the cover letter of the v9.
> So far I've been rather terse in giving feedback on these series,
> as I'm in wait-and-see mode w.r.t. what else you've planned for the
> sysctrl DT node[1] and clock/sys controller code...
>
> [1] Did I say I'm not that fond of child nodes? But for the dmamux,
> it looks like a good solution to handle this.
O:-)
I plan in the coming days to write a proper reset controller driver
that will be queried by the rtc driver (as proposed by Alexandre).
Which means I'll have to declare this reset controller as a child of
the systrl node. If you disagree with it, you may jump-in, see this
thread :
Subject: Re: [PATCH 2/7] soc: renesas: rzn1-sysc: Export a
function to enable/disable the RTC
Date: Wed, 6 Apr 2022 10:32:31 +0200
Thanks,
Miquèl
next prev parent reply other threads:[~2022-04-12 10:03 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 16:18 [PATCH v8 0/9] RZN1 DMA support Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 1/9] dt-bindings: dmaengine: Introduce RZN1 dmamux bindings Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 2/9] dt-bindings: clock: r9a06g032-sysctrl: Reference the DMAMUX subnode Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 3/9] dt-bindings: dmaengine: Introduce RZN1 DMA compatible Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 4/9] soc: renesas: rzn1-sysc: Export function to set dmamux Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 5/9] dmaengine: dw: dmamux: Introduce RZN1 DMA router support Miquel Raynal
2022-04-08 9:55 ` Ilpo Järvinen
2022-04-08 11:45 ` Andy Shevchenko
2022-04-08 12:38 ` Ilpo Järvinen
2022-04-12 10:12 ` Miquel Raynal
2022-04-11 11:24 ` Vinod Koul
2022-04-12 10:12 ` Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 6/9] clk: renesas: r9a06g032: Probe possible children Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 7/9] dmaengine: dw: Add RZN1 compatible Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 8/9] ARM: dts: r9a06g032: Add the two DMA nodes Miquel Raynal
2022-04-06 16:18 ` [PATCH v8 9/9] ARM: dts: r9a06g032: Describe the DMA router Miquel Raynal
2022-04-07 0:45 ` [PATCH v8 0/9] RZN1 DMA support Stephen Boyd
2022-04-07 8:16 ` Miquel Raynal
2022-04-11 15:09 ` Geert Uytterhoeven
2022-04-12 7:31 ` Miquel Raynal
2022-04-12 7:37 ` Geert Uytterhoeven
2022-04-12 7:43 ` Miquel Raynal [this message]
2022-04-12 7:52 ` Geert Uytterhoeven
2022-04-12 8:03 ` Miquel Raynal
2022-04-12 8:12 ` Geert Uytterhoeven
2022-04-12 10:08 ` Miquel Raynal
2022-04-14 11:24 ` 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=20220412094338.382e8754@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@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).