diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-01-22 13:09:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:52:20 -0500 |
commit | 895d4509d069f0706427ca75fcf0929ed136d0d7 (patch) | |
tree | 9eadaf136a8903d9279c3967b62efbefe5248366 /arch/sh | |
parent | 6c2fb6a8d8c43544e7665859f29373c98d17df75 (diff) |
ASoC: add DAI and platform / DMA drivers for SH SIU
Several SuperH platforms, including sh7722, sh7343, sh7354, sh7367 include
a Sound Interface Unit (SIU). This patch adds DAI and platform / DMA
drivers for this interface.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/siu.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/sh/include/asm/siu.h b/arch/sh/include/asm/siu.h new file mode 100644 index 000000000000..57565a3b551f --- /dev/null +++ b/arch/sh/include/asm/siu.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * platform header for the SIU ASoC driver | ||
3 | * | ||
4 | * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef ASM_SIU_H | ||
12 | #define ASM_SIU_H | ||
13 | |||
14 | #include <asm/dma-sh.h> | ||
15 | |||
16 | struct device; | ||
17 | |||
18 | struct siu_platform { | ||
19 | struct device *dma_dev; | ||
20 | enum sh_dmae_slave_chan_id dma_slave_tx_a; | ||
21 | enum sh_dmae_slave_chan_id dma_slave_rx_a; | ||
22 | enum sh_dmae_slave_chan_id dma_slave_tx_b; | ||
23 | enum sh_dmae_slave_chan_id dma_slave_rx_b; | ||
24 | }; | ||
25 | |||
26 | #endif /* ASM_SIU_H */ | ||