ASoC: rsrc-card: add Renesas sampling rate convert sound card support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 26 Mar 2015 04:01:27 +0000 (04:01 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2015 22:58:20 +0000 (15:58 -0700)
commit415f1cb29d3be865b034b528058c7115bc262f43
treec7a3bc6d6afb50daa7afaad03eabe863eea9807d
parent2f4b1e6bb25899e7d21e1764abcfb23f14250535
ASoC: rsrc-card: add Renesas sampling rate convert sound card support

Renesas sound card has "sampling rate convert" feature which
should be implemented via DPCM.
But, sound card driver point of view, it is difficult to add
this DPCM feature on simple-card driver. Especially, DT binding
support is very difficult.

This patch implements DPCM feature on DT as Renesas specific sound card.
This new driver is copied from current simple-card driver.
Main difference between simple-card and this driver are...
 1. removed unused feature from simple-card
 2. removed driver named prefix from DT property
 3. CPU will be FE, CODEC will be BE with snd-soc-dummy
 4. it supports sampling rate convert via .be_hw_params_fixup
 5. board specific routing is implemented in driver

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt [new file with mode: 0644]
sound/soc/sh/Kconfig
sound/soc/sh/rcar/Makefile
sound/soc/sh/rcar/rsrc-card.c [new file with mode: 0644]