Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 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> |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame] | 15 | #include <mach/asp.h> |
Muralidharan Karicheri | 51e68e2 | 2009-09-16 12:02:50 -0400 | [diff] [blame] | 16 | #include <media/davinci/vpfe_capture.h> |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame] | 17 | |
Sergei Shtylyov | 7034217 | 2010-04-16 21:29:11 +0400 | [diff] [blame] | 18 | #define DM355_ASYNC_EMIF_CONTROL_BASE 0x01E10000 |
| 19 | #define DM355_ASYNC_EMIF_DATA_CE0_BASE 0x02000000 |
| 20 | |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame] | 21 | #define ASP1_TX_EVT_EN 1 |
| 22 | #define ASP1_RX_EVT_EN 2 |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 23 | |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 24 | struct spi_board_info; |
| 25 | |
Mark A. Greer | 79c3c0b | 2009-04-15 12:38:58 -0700 | [diff] [blame] | 26 | void __init dm355_init(void); |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 27 | void dm355_init_spi0(unsigned chipselect_mask, |
| 28 | struct spi_board_info *info, unsigned len); |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame] | 29 | void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata); |
Muralidharan Karicheri | 51e68e2 | 2009-09-16 12:02:50 -0400 | [diff] [blame] | 30 | void dm355_set_vpfe_config(struct vpfe_config *cfg); |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 31 | |
| 32 | #endif /* __ASM_ARCH_DM355_H */ |