diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-10-09 16:31:58 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-09 16:31:58 -0400 |
commit | 9e165acf1b9e37af7c0fa39399b43d0bd8600039 (patch) | |
tree | 7ffdb0ad4c35ac9c19c4096b4f22ccc9b1eeefad /arch/arm/mach-at91/include/mach | |
parent | 6a4690c22f5da1eb1c898b61b6a80da52fbd976f (diff) | |
parent | 791ccf2e4deeea8426b389fd0f5bb0e9167bb75d (diff) |
Merge branch 'at91' into devel
Diffstat (limited to 'arch/arm/mach-at91/include/mach')
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_pit.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_rstc.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_rtt.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_shdwc.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_wdt.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91sam9260_matrix.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91sam9261_matrix.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91sam9_sdramc.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91sam9_smc.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 14 |
11 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91_pit.h b/arch/arm/mach-at91/include/mach/at91_pit.h index 0448ac36eadb..974d0bd05b5b 100644 --- a/arch/arm/mach-at91/include/mach/at91_pit.h +++ b/arch/arm/mach-at91/include/mach/at91_pit.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91_pit.h | 2 | * arch/arm/mach-at91/include/mach/at91_pit.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Periodic Interval Timer (PIT) - System peripherals regsters. | 7 | * Periodic Interval Timer (PIT) - System peripherals regsters. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91_rstc.h b/arch/arm/mach-at91/include/mach/at91_rstc.h index 7cd1b39aaa43..cbd2bf052c1f 100644 --- a/arch/arm/mach-at91/include/mach/at91_rstc.h +++ b/arch/arm/mach-at91/include/mach/at91_rstc.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91_rstc.h | 2 | * arch/arm/mach-at91/include/mach/at91_rstc.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Reset Controller (RSTC) - System peripherals regsters. | 7 | * Reset Controller (RSTC) - System peripherals regsters. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91_rtt.h b/arch/arm/mach-at91/include/mach/at91_rtt.h index 71782e5d2159..7ec75de8bbb6 100644 --- a/arch/arm/mach-at91/include/mach/at91_rtt.h +++ b/arch/arm/mach-at91/include/mach/at91_rtt.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91_rtt.h | 2 | * arch/arm/mach-at91/include/mach/at91_rtt.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Real-time Timer (RTT) - System peripherals regsters. | 7 | * Real-time Timer (RTT) - System peripherals regsters. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91_shdwc.h b/arch/arm/mach-at91/include/mach/at91_shdwc.h index 60be5ae624f1..c4ce07e8a8fa 100644 --- a/arch/arm/mach-at91/include/mach/at91_shdwc.h +++ b/arch/arm/mach-at91/include/mach/at91_shdwc.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91_shdwc.h | 2 | * arch/arm/mach-at91/include/mach/at91_shdwc.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Shutdown Controller (SHDWC) - System peripherals regsters. | 7 | * Shutdown Controller (SHDWC) - System peripherals regsters. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h b/arch/arm/mach-at91/include/mach/at91_wdt.h index 973b4526a98e..fecc2e9f0ca8 100644 --- a/arch/arm/mach-at91/include/mach/at91_wdt.h +++ b/arch/arm/mach-at91/include/mach/at91_wdt.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91_wdt.h | 2 | * arch/arm/mach-at91/include/mach/at91_wdt.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Watchdog Timer (WDT) - System peripherals regsters. | 7 | * Watchdog Timer (WDT) - System peripherals regsters. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h b/arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h index bca878f3bd87..1499b1cbffdd 100644 --- a/arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h +++ b/arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h | |||
@@ -1,6 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h | 2 | * arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h |
3 | * | 3 | * |
4 | * (C) 2008 Andrew Victor | ||
5 | * | ||
4 | * DDR/SDR Controller (DDRSDRC) - System peripherals registers. | 6 | * DDR/SDR Controller (DDRSDRC) - System peripherals registers. |
5 | * Based on AT91CAP9 datasheet revision B. | 7 | * Based on AT91CAP9 datasheet revision B. |
6 | * | 8 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h index f027de5df956..020f02ed921a 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h +++ b/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h | |||
@@ -1,6 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91sam9260_matrix.h | 2 | * arch/arm/mach-at91/include/mach/at91sam9260_matrix.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Atmel Corporation. | ||
5 | * | ||
4 | * Memory Controllers (MATRIX, EBI) - System peripherals registers. | 6 | * Memory Controllers (MATRIX, EBI) - System peripherals registers. |
5 | * Based on AT91SAM9260 datasheet revision B. | 7 | * Based on AT91SAM9260 datasheet revision B. |
6 | * | 8 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h index db62b1f18300..69c6501915d9 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h +++ b/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h | |||
@@ -1,6 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91sam9261_matrix.h | 2 | * arch/arm/mach-at91/include/mach/at91sam9261_matrix.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Atmel Corporation. | ||
5 | * | ||
4 | * Memory Controllers (MATRIX, EBI) - System peripherals registers. | 6 | * Memory Controllers (MATRIX, EBI) - System peripherals registers. |
5 | * Based on AT91SAM9261 datasheet revision D. | 7 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 8 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h b/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h index 1921181c63ca..b7260389f7ca 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h +++ b/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91sam9_sdramc.h | 2 | * arch/arm/mach-at91/include/mach/at91sam9_sdramc.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * SDRAM Controllers (SDRAMC) - System peripherals registers. | 7 | * SDRAM Controllers (SDRAMC) - System peripherals registers. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_smc.h b/arch/arm/mach-at91/include/mach/at91sam9_smc.h index ec6ad1338b5a..57de6207e57e 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9_smc.h +++ b/arch/arm/mach-at91/include/mach/at91sam9_smc.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-at91/include/mach/at91sam9_smc.h | 2 | * arch/arm/mach-at91/include/mach/at91sam9_smc.h |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Andrew Victor | ||
5 | * Copyright (C) 2007 Atmel Corporation. | ||
6 | * | ||
4 | * Static Memory Controllers (SMC) - System peripherals registers. | 7 | * Static Memory Controllers (SMC) - System peripherals registers. |
5 | * Based on AT91SAM9261 datasheet revision D. | 8 | * Based on AT91SAM9261 datasheet revision D. |
6 | * | 9 | * |
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index acd60f2a0724..fb51f0e0a83f 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h | |||
@@ -133,6 +133,16 @@ struct atmel_uart_data { | |||
133 | extern void __init at91_add_device_serial(void); | 133 | extern void __init at91_add_device_serial(void); |
134 | 134 | ||
135 | /* | 135 | /* |
136 | * PWM | ||
137 | */ | ||
138 | #define AT91_PWM0 0 | ||
139 | #define AT91_PWM1 1 | ||
140 | #define AT91_PWM2 2 | ||
141 | #define AT91_PWM3 3 | ||
142 | |||
143 | extern void __init at91_add_device_pwm(u32 mask); | ||
144 | |||
145 | /* | ||
136 | * SSC -- accessed through ssc_request(id). Drivers don't bind to SSC | 146 | * SSC -- accessed through ssc_request(id). Drivers don't bind to SSC |
137 | * platform devices. Their SSC ID is part of their configuration data, | 147 | * platform devices. Their SSC ID is part of their configuration data, |
138 | * along with information about which SSC signals they should use. | 148 | * along with information about which SSC signals they should use. |
@@ -162,9 +172,13 @@ extern void __init at91_add_device_ac97(struct atmel_ac97_data *data); | |||
162 | /* ISI */ | 172 | /* ISI */ |
163 | extern void __init at91_add_device_isi(void); | 173 | extern void __init at91_add_device_isi(void); |
164 | 174 | ||
175 | /* Touchscreen Controller */ | ||
176 | extern void __init at91_add_device_tsadcc(void); | ||
177 | |||
165 | /* LEDs */ | 178 | /* LEDs */ |
166 | extern void __init at91_init_leds(u8 cpu_led, u8 timer_led); | 179 | extern void __init at91_init_leds(u8 cpu_led, u8 timer_led); |
167 | extern void __init at91_gpio_leds(struct gpio_led *leds, int nr); | 180 | extern void __init at91_gpio_leds(struct gpio_led *leds, int nr); |
181 | extern void __init at91_pwm_leds(struct gpio_led *leds, int nr); | ||
168 | 182 | ||
169 | /* FIXME: this needs a better location, but gets stuff building again */ | 183 | /* FIXME: this needs a better location, but gets stuff building again */ |
170 | extern int at91_suspend_entering_slow_clock(void); | 184 | extern int at91_suspend_entering_slow_clock(void); |