linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/25] ARM: shmobile: r8a7790: sound enables Audio DMAC peri peri entry on DTSI
Date: Tue, 18 Nov 2014 13:54:12 +0100	[thread overview]
Message-ID: <15076656.0HaaBPou9k@wuerfel> (raw)
In-Reply-To: <87a93pxtlr.wl%kuninori.morimoto.gx@renesas.com>

On Tuesday 18 November 2014 00:03:50 Kuninori Morimoto wrote:
> Hi Arnd
> 
> > >                                 "mem_src6",     "src6_mem",
> > >                                 "mem_src7",     "src7_mem",
> > >                                 "mem_src8",     "src8_mem",
> > > -                               "mem_src9",     "src9_mem";
> > > +                               "mem_src9",     "src9_mem",
> > > +
> > > +                               "src0_ssiu0",           "src1_ssiu0",           "src2_ssiu0",           "src3_ssiu0",           "src4_ssiu0",
> > > +                               "src0_ssiu1",           "src1_ssiu1",           "src2_ssiu1",           "src3_ssiu1",           "src4_ssiu1",
> > > +                               "src0_ssiu2",           "src1_ssiu2",           "src2_ssiu2",           "src3_ssiu2",           "src4_ssiu2",
> > > 
> > 
> > I have to note that this looks rather weird and that none of the names
> > are documented in the binding.
> > 
> > Can you explain why this device uses over 100 DMA channels and put the
> > exact naming rules into the binding?
> > Do you expect all channels to be in use simultaneously?
> 
> This device has 10 sound channels, and using 3 kind of IPs.
> Then, data input/output needs DMA channel which needs specific ID to using.
> Above name has ID pair for it, so there is much combination. 
> These specific ID is based on SoC, not board.
> Sound driver / DMAEngine can get specific ID from above.
> 
> Indeed binding itself was not documented yet.
> I will add it ASAP.

It sounds like you have some device-to-device DMAs here, which isn't
supported by the generic dmaengine binding at all, and I don't think
the driver currently attempts to use them.

Is that correct? Could you try to remove those from the binding and
just leave the device-to-memory and memory-to-device channels there?
If we ever want to support those, we probably have to extend the
dmaengine binding first, and then the driver binding would also look
different.

	Arnd

  parent reply	other threads:[~2014-11-18 12:54 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13  1:20 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
2014-11-13  1:19 ` [PATCH 01/25] ARM: shmobile: r8a7794: Add VIN clock to device tree Simon Horman
2014-11-13  1:19 ` [PATCH 02/25] ARM: shmobile: r8a7790: Add Audio DMAC devices to DT Simon Horman
2014-11-13  1:19 ` [PATCH 03/25] ARM: shmobile: r8a7791: " Simon Horman
2014-11-13  1:19 ` [PATCH 04/25] ARM: shmobile: r8a7790: Add Audio DMAC peri peri " Simon Horman
2014-11-13  1:19 ` [PATCH 05/25] ARM: shmobile: r8a7791: " Simon Horman
2014-11-13  1:19 ` [PATCH 06/25] ARM: shmobile: r8a7790: sound enables Audio DMAC entry on DTSI Simon Horman
2014-11-13  1:19 ` [PATCH 07/25] ARM: shmobile: r8a7791: " Simon Horman
2014-11-13  1:19 ` [PATCH 08/25] ARM: shmobile: r8a7790: sound enables Audio DMAC peri peri " Simon Horman
2014-11-17 11:29   ` Arnd Bergmann
2014-11-18  0:03     ` Kuninori Morimoto
2014-11-18  0:50       ` Simon Horman
2014-11-18 12:56         ` Arnd Bergmann
2014-11-19  0:10           ` Simon Horman
2014-11-18 12:54       ` Arnd Bergmann [this message]
2014-11-19  0:16         ` Kuninori Morimoto
2014-11-19  8:05           ` Kuninori Morimoto
2014-11-25  0:59         ` Kuninori Morimoto
2014-11-13  1:20 ` [PATCH 09/25] ARM: shmobile: r8a7791: " Simon Horman
2014-11-13  1:20 ` [PATCH 10/25] ARM: shmobile: lager: fixup IIC2 clock frequency Simon Horman
2014-11-13  1:20 ` [PATCH 11/25] ARM: shmobile: lager: Sound PIO support on DTS Simon Horman
2014-11-13  1:20 ` [PATCH 12/25] ARM: shmobile: lager: Sound DMA " Simon Horman
2014-11-13  1:20 ` [PATCH 13/25] ARM: shmobile: lager: Sound DMA support via BUSIF " Simon Horman
2014-11-13  1:20 ` [PATCH 14/25] ARM: shmobile: lager: Sound DMA support via SRC " Simon Horman
2014-11-13  1:20 ` [PATCH 15/25] ARM: shmobile: lager: Sound DMA support via DVC " Simon Horman
2014-11-13  1:20 ` [PATCH 16/25] ARM: shmobile: koelsch: fixup I2C2 clock frequency Simon Horman
2014-11-13  1:20 ` [PATCH 17/25] ARM: shmobile: koelsch: Sound PIO support on DTS Simon Horman
2014-11-13  1:20 ` [PATCH 18/25] ARM: shmobile: koelsch: Sound DMA " Simon Horman
2014-11-13  1:20 ` [PATCH 19/25] ARM: shmobile: koelsch: Sound DMA support via BUSIF " Simon Horman
2014-11-13  1:20 ` [PATCH 20/25] ARM: shmobile: koelsch: Sound DMA support via SRC " Simon Horman
2014-11-13  1:20 ` [PATCH 21/25] ARM: shmobile: koelsch: Sound DMA support via DVC " Simon Horman
2014-11-13  1:20 ` [PATCH 22/25] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties Simon Horman
2014-11-13  1:20 ` [PATCH 23/25] ARM: shmobile: sh73a0 " Simon Horman
2014-11-13  1:20 ` [PATCH 24/25] ARM: shmobile: koelsch dts: Add labels for the LEDs Simon Horman
2014-11-13  1:20 ` [PATCH 25/25] ARM: shmobile: kzm9g-reference " Simon Horman
2014-11-19 22:09 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
2014-11-20  0:56   ` Simon Horman

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=15076656.0HaaBPou9k@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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).