From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 0/11][RFC] sound DMA support patches
Date: Sat, 25 Oct 2014 15:07:55 +0000 [thread overview]
Message-ID: <2196061.kROSgqD6Pm@avalon> (raw)
In-Reply-To: <874my8vlqq.wl%kuninori.morimoto.gx@gmail.com>
Hi Morimoto-san,
On Tuesday 22 July 2014 19:42:55 Kuninori Morimoto wrote:
> Hi Laurent
>
> These are sound DMA support platform side patches.
> These worked well when it was based on shdma-base
> driver base.
>
> These are including all sound DMA supports,
> but, it is too much for cyclic transfer test.
I'm trying to test cyclic DMA support in the rcar-dmac driver using this patch
series.
I've applied all the patches on top of a merge of asoc/topic/rcar, renesas-
drivers-2014-10-23-v3.18-rc1 and Simon's latest master branch. The sound
devices are not probed correctly:
[ 10.720000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.730000] sh_mobile_sdhi ee100000.sd: mmc1 base at 0xee100000 clock rate
97 MHz
[ 10.730000] i2c-sh_mobile e6510000.i2c: I2C adapter 5 with bus speed 100000
Hz (L/H=0x145/0x118)
[ 10.730000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.750000] rcar_sound ec500000.rcar_sound: Failed to create debugfs
directory
[ 10.750000] rcar_sound ec500000.rcar_sound: Failed to create debugfs
directory
[ 10.750000] rcar_sound ec500000.rcar_sound: Failed to create debugfs
directory
[ 10.760000] rcar_sound ec500000.rcar_sound: probed
[ 10.760000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 10.760000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.770000] i2c-sh_mobile e6520000.i2c: I2C adapter 6 with bus speed 100000
Hz (L/H=0x145/0x118)
[ 10.770000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 10.770000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.800000] DA9210: 1000 mV at 4600 mA
[ 10.800000] i2c-sh_mobile e60b0000.i2c: I2C adapter 7 with bus speed 100000
Hz (L/H=0x19/0x16)
[ 10.800000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 10.800000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.860000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 10.870000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.880000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 10.890000] platform sound: Driver asoc-simple-card requests probe deferral
[ 10.910000] random: nonblocking pool is initialized
[ 11.060000] sh_mobile_sdhi ee140000.sd: mmc2 base at 0xee140000 clock rate
48 MHz
[ 11.060000] asoc-simple-card sound: ASoC: CPU DAI rsnd-dai.0 not registered
[ 11.070000] platform sound: Driver asoc-simple-card requests probe deferral
Am I missing something ? Is there a newer version of the Lager audio + DMA
support patches ?
> I guess 1/3/5/6/10/11/ are enough.
>
> Current rcar-dmac filter can't care "dma0" or "audma0" now.
> So, I disabled "dma0/1" as quick-hack.
>
> &dmac0 {
> status = "disabled";
> };
>
> &dmac1 {
> status = "disabled";
> };
>
> I could get short sound if I modified driver as try-and-error.
> (and it dead after that, of course it is wrong fix)
> So, I guess, address/IRQ/MID-RID/MSTP/etc settings are correct.
>
> If you have alsa command, you need this
>
> > amixer set "LINEOUT Mixer DACL" on
> > aplay xxx.wav
>
> I used...
>
> > git checkout renesas-drivers-2014-07-11-v3.16-rc4
> > git merge asoc/topic/rcar
>
> # asoc = git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
>
> Kuninori Morimoto (11):
> 1) ARM: shmobile: r8a7790: Add Audio DMAC devices to DT
> 2) ARM: shmobile: r8a7790: Add Audio DMAC peri peri devices to DT
> 3) ARM: shmobile: r8a7790: sound enables Audio DMAC entry on DTSI
> 4) ARM: shmobile: r8a7790: sound enables Audio DMAC peri peri entry
> on DTSI
> 5) ARM: shmobile: lager: Sound PIO support on DTS
> 6) ARM: shmobile: lager: Sound DMA support on DTS
> 7) ARM: shmobile: lager: Sound DMA support via BUSIF on DTS
> 8) ARM: shmobile: lager: Sound DMA support via SRC on DTS
> 9) ARM: shmobile: lager: Sound DMA support via DVC on DTS
> 10) ARM: shmobile: multiplatform: add Audo DMAC peri peri support on
> defconfig
> 11) ARM: shmobile: multiplatform: add R-Car DMAC support on
> defconfig
>
> arch/arm/boot/dts/r8a7790-lager.dts | 66 ++++++++++
> arch/arm/boot/dts/r8a7790.dtsi | 203 +++++++++++++++++++++++++-
> arch/arm/configs/shmobile_defconfig | 2 +
> arch/arm/mach-shmobile/Kconfig | 1 +
> include/dt-bindings/clock/r8a7790-clock.h | 2 +
> 5 files changed, 271 insertions(+), 3 deletions(-)
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-10-25 15:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 2:42 [PATCH 0/11][RFC] sound DMA support patches Kuninori Morimoto
2014-10-25 15:07 ` Laurent Pinchart [this message]
2014-10-27 0:36 ` Kuninori Morimoto
2014-10-27 12:48 ` Laurent Pinchart
2014-10-28 0:16 ` Kuninori Morimoto
2014-10-28 20:59 ` Laurent Pinchart
2014-10-29 0:08 ` Kuninori Morimoto
2014-10-29 1:33 ` Kuninori Morimoto
2014-10-29 14:08 ` Laurent Pinchart
2014-10-30 0:07 ` Kuninori Morimoto
2014-10-30 0:46 ` Laurent Pinchart
2014-10-30 1:28 ` Kuninori Morimoto
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=2196061.kROSgqD6Pm@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-sh@vger.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).