2009-04-30 03:10:55 +08:00
|
|
|
/*
|
|
|
|
* 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>
|
2009-06-05 18:28:08 +08:00
|
|
|
#include <mach/asp.h>
|
2009-09-17 00:02:50 +08:00
|
|
|
#include <media/davinci/vpfe_capture.h>
|
2009-06-05 18:28:08 +08:00
|
|
|
|
|
|
|
#define ASP1_TX_EVT_EN 1
|
|
|
|
#define ASP1_RX_EVT_EN 2
|
2009-04-30 03:10:55 +08:00
|
|
|
|
|
|
|
struct spi_board_info;
|
|
|
|
|
2009-04-16 03:38:58 +08:00
|
|
|
void __init dm355_init(void);
|
2009-04-30 03:10:55 +08:00
|
|
|
void dm355_init_spi0(unsigned chipselect_mask,
|
|
|
|
struct spi_board_info *info, unsigned len);
|
2009-06-05 18:28:08 +08:00
|
|
|
void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
|
2009-09-17 00:02:50 +08:00
|
|
|
void dm355_set_vpfe_config(struct vpfe_config *cfg);
|
2009-04-30 03:10:55 +08:00
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_DM355_H */
|