]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/mach-davinci/include/mach/dm355.h
davinci: ASoC: Add the platform devices for ASP
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-davinci / include / mach / dm355.h
1 /*
2 * Chip specific defines for DM355 SoC
3 *
4 * Author: Kevin Hilman, Deep Root Systems, LLC
5 *
6 * 2007 (c) Deep Root Systems, LLC. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
10 */
11 #ifndef __ASM_ARCH_DM355_H
12 #define __ASM_ARCH_DM355_H
13
14 #include <mach/hardware.h>
15 #include <mach/asp.h>
16
17 #define ASP1_TX_EVT_EN 1
18 #define ASP1_RX_EVT_EN 2
19
20 struct spi_board_info;
21
22 void __init dm355_init(void);
23 void dm355_init_spi0(unsigned chipselect_mask,
24 struct spi_board_info *info, unsigned len);
25 void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
26
27 #endif /* __ASM_ARCH_DM355_H */