aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-at91/board.h
diff options
context:
space:
mode:
authorAndrew Victor <linux@maxim.org.za>2008-01-23 03:18:06 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 10:00:31 -0500
commitbfbc32663d4846039f88c0eccc1956587d89c042 (patch)
tree5706e089fe0ab64b66a879100b7391715df5d1ee /include/asm-arm/arch-at91/board.h
parentc6686ff9df086f9473663c2e61c1173c56788b2e (diff)
[ARM] 4754/1: [AT91] SSC library support
Core support of the Atmel SSC library for all Atmel AT91 processors. Based on David Brownell's initial patch for the AT91RM9200. Signed-off-by: Andrew Victor <linux@maxim.org.za> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-at91/board.h')
-rw-r--r--include/asm-arm/arch-at91/board.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/board.h b/include/asm-arm/arch-at91/board.h
index 762148cc48c1..7fefe018833c 100644
--- a/include/asm-arm/arch-at91/board.h
+++ b/include/asm-arm/arch-at91/board.h
@@ -116,6 +116,23 @@ struct atmel_uart_data {
116}; 116};
117extern void __init at91_add_device_serial(void); 117extern void __init at91_add_device_serial(void);
118 118
119/*
120 * SSC -- accessed through ssc_request(id). Drivers don't bind to SSC
121 * platform devices. Their SSC ID is part of their configuration data,
122 * along with information about which SSC signals they should use.
123 */
124#define ATMEL_SSC_TK 0x01
125#define ATMEL_SSC_TF 0x02
126#define ATMEL_SSC_TD 0x04
127#define ATMEL_SSC_TX (ATMEL_SSC_TK | ATMEL_SSC_TF | ATMEL_SSC_TD)
128
129#define ATMEL_SSC_RK 0x10
130#define ATMEL_SSC_RF 0x20
131#define ATMEL_SSC_RD 0x40
132#define ATMEL_SSC_RX (ATMEL_SSC_RK | ATMEL_SSC_RF | ATMEL_SSC_RD)
133
134extern void __init at91_add_device_ssc(unsigned id, unsigned pins);
135
119 /* LCD Controller */ 136 /* LCD Controller */
120struct atmel_lcdfb_info; 137struct atmel_lcdfb_info;
121extern void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data); 138extern void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data);