diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-06-22 17:56:23 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-28 14:41:19 +0100 |
commit | d9288d0ba12de1b5efb830b9128e4cc6877318fc (patch) | |
tree | f02a9aabd4c12c16bb320e18b827270a25b48689 /include/sound | |
parent | 8457e0e9e274cae4898f84dd5aaeb5d2098126c8 (diff) | |
download | linux-d9288d0ba12de1b5efb830b9128e4cc6877318fc.tar.gz linux-d9288d0ba12de1b5efb830b9128e4cc6877318fc.tar.bz2 linux-d9288d0ba12de1b5efb830b9128e4cc6877318fc.zip |
ASoC: rsnd: SSI + DMA can select BUSIF
Sound data needs to be sent to R-Car sound SSI when playback.
But, there are 2 interfaces for it.
1st is SSITDR/SSIRDR which are mapped on SSI.
2nd is SSIn_BUSIF which are mapped on SSIU.
2nd SSIn_BUSIF is used when DMA transfer,
and it is always used if sound data came from via SRC.
But, we can use it when SSI+DMA case too.
(Current driver is assuming 1st SSITDR/SSIRDR for it)
2nd SSIn_BUSIF can be used as FIFO.
This is very helpful/useful for SSI+DMA.
But DMA address / DMA ID are not same between 1st/2nd cases.
This patch care about these settings.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rcar_snd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h index f4a706f82cb7..d76412b84b48 100644 --- a/include/sound/rcar_snd.h +++ b/include/sound/rcar_snd.h @@ -34,6 +34,7 @@ * B : SSI direction */ #define RSND_SSI_CLK_PIN_SHARE (1 << 31) +#define RSND_SSI_NO_BUSIF (1 << 30) /* SSI+DMA without BUSIF */ #define RSND_SSI(_dma_id, _pio_irq, _flags) \ { .dma_id = _dma_id, .pio_irq = _pio_irq, .flags = _flags } |