forked from Minki/linux
25acf553ae
1) Registers the platform devices for ASP on dm355, dm644x and dm646x so that the machine driver can probe to get ASP related platform data. 2) Move towards definition of the asp clocks using physical name(for dm355 and dm644x) 3) Add platform data to board specific files. Signed-off-by: Naresh Medisetty <naresh@ti.com> Signed-off-by: Chaithrika U S <chaithrika@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
28 lines
737 B
C
28 lines
737 B
C
/*
|
|
* Chip specific defines for DM355 SoC
|
|
*
|
|
* Author: Kevin Hilman, Deep Root Systems, LLC
|
|
*
|
|
* 2007 (c) Deep Root Systems, LLC. This file is licensed under
|
|
* the terms of the GNU General Public License version 2. This program
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
* or implied.
|
|
*/
|
|
#ifndef __ASM_ARCH_DM355_H
|
|
#define __ASM_ARCH_DM355_H
|
|
|
|
#include <mach/hardware.h>
|
|
#include <mach/asp.h>
|
|
|
|
#define ASP1_TX_EVT_EN 1
|
|
#define ASP1_RX_EVT_EN 2
|
|
|
|
struct spi_board_info;
|
|
|
|
void __init dm355_init(void);
|
|
void dm355_init_spi0(unsigned chipselect_mask,
|
|
struct spi_board_info *info, unsigned len);
|
|
void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
|
|
|
|
#endif /* __ASM_ARCH_DM355_H */
|