From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 0/11][RFC] sound DMA support patches
Date: Wed, 29 Oct 2014 14:08:54 +0000 [thread overview]
Message-ID: <3797708.B6UtIOD0R5@avalon> (raw)
In-Reply-To: <874my8vlqq.wl%kuninori.morimoto.gx@gmail.com>
Hi Morimoto-san,
On Tuesday 28 October 2014 18:33:38 Kuninori Morimoto wrote:
> Hi Laurent again
>
> Thank you for your DMA cyclic work
>
> > > I've pushed my test branch to
> > >
> > > git://linuxtv.org/pinchartl/fbdev.git dma/audio
> > >
> > > It doesn't include support for DMA hardware descriptors yet, as I wanted
> > > to rule out any issue with them.
>
> Unfortunately, it was patch applying magic.
> ak4643 is needed under iic2, not iic1.
> Can you add attached patch on your dma/audio branch ?
>
> It works for me.
> When you use sound on Lager board, you need amixer setting.
> And you can use bottom jack of CN17 for sound output.
>
> / # amixer set "LINEOUT Mixer DACL" on
After applying your patch and setting the control I get sound ! I'll now test
and debug hardware descriptors support.
Thank you for your help.
> /* start sound playback and check DMA interrupt */
>
> / # aplay /home/xxx.wav &
> / # grep dma /proc/interrupts
> ...
> 352: 103 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 124 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 146 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 195 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 216 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 239 0 0 0 GIC 352
> ec700000.dma-contorller:0
>
> /* stop sound playback and check DMA interrupt */
>
> / # fg
> aplay /home/Calm_16bit_48k.wav
> ^CAborted by signal Interrupt...
> / # grep dma /proc/interrupts
> ...
> 352: 280 0 0 0 GIC 352
> ec700000.dma-contorller:0 / # grep dma /proc/interrupts
> ...
> 352: 280 0 0 0 GIC 352
> ec700000.dma-contorller:0
>
> ----------------------
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index f891a00..03fe43a 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -409,12 +409,6 @@
> status = "ok";
> pinctrl-0 = <&iic1_pins>;
> pinctrl-names = "default";
> -
> - ak4643: sound_codec {
> - compatible = "asahi-kasei,ak4643";
> - #sound-dai-cells = <0>;
> - reg = <0x12>;
> - };
> };
>
> &iic2 {
> @@ -434,6 +428,12 @@
> };
> };
> };
> +
> + ak4643: sound_codec {
> + compatible = "asahi-kasei,ak4643";
> + #sound-dai-cells = <0>;
> + reg = <0x12>;
> + };
> };
>
> &iic3 {
> ----------------------
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-10-29 14:08 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
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 [this message]
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=3797708.B6UtIOD0R5@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