[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZYRzY3ul9UzD9d06@matsya>
Date: Thu, 21 Dec 2023 22:48:27 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Amelie Delaunay <amelie.delaunay@...s.st.com>
Cc: Fenghua Yu <fenghua.yu@...el.com>, Dave Jiang <dave.jiang@...el.com>,
linux-stm32@...md-mailman.stormreply.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: add channel device name to channel
registration
On 21-12-23, 18:11, Amelie Delaunay wrote:
> Hi Vinod,
>
> On 12/21/23 17:13, Vinod Koul wrote:
> > On 13-12-23, 18:40, Amelie Delaunay wrote:
> > > Channel device name is used for sysfs, but also by dmatest filter function.
> > >
> > > With dynamic channel registration, channels can be registered after dma
> > > controller registration. Users may want to have specific channel names.
> > >
> > > If name is NULL, the channel name relies on previous implementation,
> > > dma<controller_device_id>chan<channel_device_id>.
> >
> > lgtm, where is the user for this..?
> >
>
> I'll send beginning of next year a DMA controller driver for STM32MP25 SoC
> family. It relies on the dynamic channel registration. It will be a user of
> this dma_async_device_channel_register(struct dma_device *device, struct
> dma_chan *chan, const char *name).
Okay, I prefer to add a API with the user.
Thnx
--
~Vinod
Powered by blists - more mailing lists