aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/rcar_snd.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-28 21:59:12 -0400
committerMark Brown <broonie@linaro.org>2013-08-06 12:56:13 -0400
commit374a528111fa07878090bd9694a3e153814de39c (patch)
treea9af99a7d5a419f7ee7d92b4205e8274a731c566 /include/sound/rcar_snd.h
parent849fc82a6f4f32b4c8c502bb7c4a68df51170232 (diff)
ASoC: rsnd: SSI supports DMA transfer via BUSIF
This patch adds BUSIF support for R-Car sound DMAEngine transfer. The sound data will be transferred via FIFO which can cover blank time which will happen when DMA channel is switching. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/rcar_snd.h')
-rw-r--r--include/sound/rcar_snd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index a72687dda0cd..d35412ae03b3 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -36,6 +36,7 @@
36#define RSND_SSI_CLK_PIN_SHARE (1 << 31) 36#define RSND_SSI_CLK_PIN_SHARE (1 << 31)
37#define RSND_SSI_CLK_FROM_ADG (1 << 30) /* clock parent is master */ 37#define RSND_SSI_CLK_FROM_ADG (1 << 30) /* clock parent is master */
38#define RSND_SSI_SYNC (1 << 29) /* SSI34_sync etc */ 38#define RSND_SSI_SYNC (1 << 29) /* SSI34_sync etc */
39#define RSND_SSI_DEPENDENT (1 << 28) /* SSI needs SRU/SCU */
39 40
40#define RSND_SSI_PLAY (1 << 24) 41#define RSND_SSI_PLAY (1 << 24)
41 42
@@ -51,6 +52,11 @@ struct rsnd_ssi_platform_info {
51 u32 flags; 52 u32 flags;
52}; 53};
53 54
55/*
56 * flags
57 */
58#define RSND_SCU_USB_HPBIF (1 << 31) /* it needs RSND_SSI_DEPENDENT */
59
54struct rsnd_scu_platform_info { 60struct rsnd_scu_platform_info {
55 u32 flags; 61 u32 flags;
56}; 62};