Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358484

Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users
Date 2016-03-16 04:20 +0100
Message-ID <rdaa5-31Q-5@gated-at.bofh.it> (permalink)
References (5 earlier) <rbrRM-489-7@gated-at.bofh.it> <rbsb7-4ua-1@gated-at.bofh.it> <rbsXv-4QJ-11@gated-at.bofh.it> <rbtgR-5hR-5@gated-at.bofh.it> <rczay-3ce-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Mar 14, 2016 at 12:46:41PM +0100, Maxime Ripard wrote:
> On Fri, Mar 11, 2016 at 04:48:26PM +0530, Vinod Koul wrote:
> > > > But this nees to be property for clients and not driver. Client can then
> > > > program these
> > > 
> > > Yes, totally. The question here is how the clients give that
> > > information to the driver.
> > 
> > For this part am not worried. If we can generalize this then we add to
> > dma_slave_config. Otherwise an exported symbol from driver should be fine.
> 
> It's actually what we would like to avoid.
> 
> We have two potential provider driver that would need such an
> interface, and we have customer drivers that would be able to use any
> of these two, depending on which SoCs we're talking about.
> 
> Maintaining some logic in each and every driver in that case to know
> which one of this symbol is to be called seems counterproductive and
> painful.

You didn't specify which one you want to avoid, and my guess is latter
choice and not former :)

As I said, if it's something we can use in few examples and describe
generically I do not mind adding to dma_slave_config

-- 
~Vinod

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-07 11:30 +0100
  Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-07 16:00 +0100
    Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-07 16:10 +0100
      Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-07 21:40 +0100
        Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-08 04:00 +0100
        Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-08 04:00 +0100
          Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-08 09:00 +0100
            Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Hans de Goede <hdegoede@redhat.com> - 2016-03-08 09:50 +0100
              Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-08 11:10 +0100
                Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-09 12:20 +0100
            Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-08 09:50 +0100
              Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and  wait cycle configuration to DMA users Priit Laes <plaes@plaes.org> - 2016-03-08 10:20 +0100
              Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-08 11:10 +0100
              Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-03-09 11:10 +0100
            Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-08 11:00 +0100
          Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-09 11:20 +0100
            Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 07:30 +0100
              Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-11 10:50 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 11:10 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-11 11:30 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 12:20 +0100
          Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-09 12:30 +0100
            Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 07:30 +0100
              Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-11 10:50 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 11:10 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-11 12:00 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-11 12:20 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-14 12:50 +0100
                Re: [PATCH] dma: sun4i: expose block size and wait cycle  configuration to DMA users Vinod Koul <vinod.koul@intel.com> - 2016-03-16 04:20 +0100
  Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Priit Laes <plaes@plaes.org> - 2016-03-07 16:40 +0100
    Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-03-07 17:00 +0100
      Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait  cycle configuration to DMA users Emilio López <emilio@elopez.com.ar> - 2016-03-07 18:20 +0100

csiph-web