aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-28 21:59:02 -0400
committerMark Brown <broonie@linaro.org>2013-08-06 12:56:13 -0400
commit849fc82a6f4f32b4c8c502bb7c4a68df51170232 (patch)
tree59745fe7d701eec3504c166a949fdad5cad467cb /include
parent0a4d94c07ce782e645a8c0484d52221758b4c398 (diff)
ASoC: rsnd: SSI supports DMA transfer
This patch adds DMAEngine transfer on SSI. But, it transfers sound data from memory to SSI directly without using HPBIF at this time. It will be updated soon Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/rcar_snd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index 33233edd1664..a72687dda0cd 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -39,13 +39,14 @@
39 39
40#define RSND_SSI_PLAY (1 << 24) 40#define RSND_SSI_PLAY (1 << 24)
41 41
42#define RSND_SSI_SET(_dai_id, _pio_irq, _flags) \ 42#define RSND_SSI_SET(_dai_id, _dma_id, _pio_irq, _flags) \
43{ .dai_id = _dai_id, .pio_irq = _pio_irq, .flags = _flags } 43{ .dai_id = _dai_id, .dma_id = _dma_id, .pio_irq = _pio_irq, .flags = _flags }
44#define RSND_SSI_UNUSED \ 44#define RSND_SSI_UNUSED \
45{ .dai_id = -1, .pio_irq = -1, .flags = 0 } 45{ .dai_id = -1, .dma_id = -1, .pio_irq = -1, .flags = 0 }
46 46
47struct rsnd_ssi_platform_info { 47struct rsnd_ssi_platform_info {
48 int dai_id; 48 int dai_id;
49 int dma_id;
49 int pio_irq; 50 int pio_irq;
50 u32 flags; 51 u32 flags;
51}; 52};