]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: shmobile: bockw: add R-Car sound support (PIO)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 26 Aug 2013 08:52:35 +0000 (01:52 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 07:56:11 +0000 (16:56 +0900)
commit688e6a6df880ee70e76f6ec1991dd0f186c25329
treecaa139836ebdfcd041e44d00b751bd406b06ea04
parent71d7472f63385f4f6fb7c8548450b2e4665dc542
ARM: shmobile: bockw: add R-Car sound support (PIO)

This patch enables R-Car sound,
AK4643 (CN19) and AK4554 (CN20/CN21) codec chip
on Bock-W.

But, it supports PIO transfer only at this point.
User can check sound settings (Dip-switch/PFC etc)
via this patch, but will get under/over flow error
when playback/capture.
Because PIO transfer via SSI will be interrupted
"sampling rate" times per 1 second.

DMA transfer will be supported when HPB-DMAC was
enabled on r8a7778.

You will notice strange ALSA sound card HW
numbering on Bock-W board.
This came from AK4554 strange format on playback/capture.
The format on playback/capture is same on "normal" codec chip,
but AK4554 was different.
Because of that, AK4554 playback/capture are
registered as a different sound card.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[horms+renesas@verge.net.au: squashed cleanup of SND_SOC_xxx in
 Kconfig by Kuninori Morimoto]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/board-bockw.c