Skip to content

RFC audio support for at91sam9x5ek board

Richard Genoud linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest13 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13misc: atmel_ssc: add device tree DMA supportdrivers/misc/atmel-ssc.c include/linux/atmel-ssc.h include/linux/platform_data/dma-atmel.h+60 -09 replies
2/13misc: atmel_ssc: keep the count of pdev->iddrivers/misc/atmel-ssc.c+7 -02 replies
3/13ARM: at91: DTS: sam9x5: add clock for SSC DT entryarch/arm/mach-at91/at91sam9x5.c+1 -02 replies
4/13ARM: at91: DTS: sam9x5: add SSC DMA parametersarch/arm/boot/dts/at91sam9x5.dtsi+3 -00 replies
5/13ARM: AT91: DTS: sam9x5ek: add WM8731 codecarch/arm/boot/dts/at91sam9x5ek.dtsi+5 -00 replies
6/13ARM: AT91: DTS: sam9x5ek: add sound configurationarch/arm/boot/dts/at91sam9x5ek.dtsi+18 -00 replies
7/13ARM: AT91: DTS: sam9x5ek: enable SSCarch/arm/boot/dts/at91sam9x5ek.dtsi+4 -00 replies
8/13sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boardssound/soc/atmel/Kconfig sound/soc/atmel/Makefile sound/soc/atmel/sam9x5_wm8731.c+246 -06 replies
9/13sound: atmel-pcm: don't return ok if pcm-dma is not implementedsound/soc/atmel/atmel-pcm.h+1 -10 replies
10/13sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resumesound/soc/atmel/atmel_ssc_dai.c+13 -70 replies
11/13sound: atmel-pcm-dma: check pointer before dereferencesound/soc/atmel/atmel-pcm-dma.c+3 -00 replies
12/13sound: wm8731: rework power managementsound/soc/codecs/wm8731.c+5 -10 replies
13/13sound: codec: wm8371: correct capture line/micsound/soc/codecs/wm8731.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 00/13] audio support for at91sam9x5ek board

Hi,

Here is some work I've done to make the sound work on sam9x5ek. It's based on Nicolas Ferre's and Uwe Kleine-K?nig's work. (Atmel patch on 2.6.39 if I recall)

I'd like to have some advice, mainly on the 1st patch
"misc: atmel_ssc: add device tree DMA support".
I do not clearly see what is the right way to add DMA DT support for this device, since it doesn't request a channel directly.

patches applies on next-20130701

[I let the original signed-off from Nicolas and Uwe in place, I don't know if I should replace them by something like "originaly-signed-off-by" since the code has been changed.]

Best regards,
Richard.

Nicolas Ferre (3):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume
sound: wm8731: rework power management

Richard Genoud (10):
misc: atmel_ssc: add device tree DMA support
misc: atmel_ssc: keep the count of pdev->id
ARM: at91: DTS: sam9x5: add clock for SSC DT entry
ARM: at91: DTS: sam9x5: add SSC DMA parameters
ARM: AT91: DTS: sam9x5ek: add WM8731 codec
ARM: AT91: DTS: sam9x5ek: add sound configuration
ARM: AT91: DTS: sam9x5ek: enable SSC
sound: atmel-pcm: don't return ok if pcm-dma is not implemented
sound: atmel-pcm-dma: check pointer before dereference
sound: codec: wm8371: correct capture line/mic

 arch/arm/boot/dts/at91sam9x5.dtsi       |    3 +
 arch/arm/boot/dts/at91sam9x5ek.dtsi     |   27 ++++
 arch/arm/mach-at91/at91sam9x5.c         |    1 +
 drivers/misc/atmel-ssc.c                |   63 +++++++++
 include/linux/atmel-ssc.h               |    2 +
 include/linux/platform_data/dma-atmel.h |    2 +
 sound/soc/atmel/Kconfig                 |   12 ++
 sound/soc/atmel/Makefile                |    2 +
 sound/soc/atmel/atmel-pcm-dma.c         |    3 +
 sound/soc/atmel/atmel-pcm.h             |    2 +-
 sound/soc/atmel/atmel_ssc_dai.c         |   20 ++-
 sound/soc/atmel/sam9x5_wm8731.c         |  232 +++++++++++++++++++++++++++++++
 sound/soc/codecs/wm8731.c               |   10 +-
 13 files changed, 368 insertions(+), 11 deletions(-)
 create mode 100644 sound/soc/atmel/sam9x5_wm8731.c
Signature · 1 line
1.7.10.4