diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-20 17:18:06 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-18 18:15:43 -0500 |
commit | 69dde86aa616b09bb3ef39a5ab783f82254d241c (patch) | |
tree | 6e7fad723f7ef0be1f549ceb3c5df85a5463544d | |
parent | 33237616771bfc29a97f17e74efe3799bb790343 (diff) |
ARM: sa11x0: add assabet ucb1x00 platform data
Add ucb1x00 platform data to enable GPIO support on the UCB1300 device.
Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 3a1914568374..c45402f866cc 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
16 | #include <linux/ioport.h> | 16 | #include <linux/ioport.h> |
17 | #include <linux/serial_core.h> | 17 | #include <linux/serial_core.h> |
18 | #include <linux/mfd/ucb1x00.h> | ||
18 | #include <linux/mtd/mtd.h> | 19 | #include <linux/mtd/mtd.h> |
19 | #include <linux/mtd/partitions.h> | 20 | #include <linux/mtd/partitions.h> |
20 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
@@ -199,9 +200,14 @@ static struct irda_platform_data assabet_irda_data = { | |||
199 | .set_speed = assabet_irda_set_speed, | 200 | .set_speed = assabet_irda_set_speed, |
200 | }; | 201 | }; |
201 | 202 | ||
203 | static struct ucb1x00_plat_data assabet_ucb1x00_data = { | ||
204 | .gpio_base = -1, | ||
205 | }; | ||
206 | |||
202 | static struct mcp_plat_data assabet_mcp_data = { | 207 | static struct mcp_plat_data assabet_mcp_data = { |
203 | .mccr0 = MCCR0_ADM, | 208 | .mccr0 = MCCR0_ADM, |
204 | .sclk_rate = 11981000, | 209 | .sclk_rate = 11981000, |
210 | .codec_pdata = &assabet_ucb1x00_data, | ||
205 | }; | 211 | }; |
206 | 212 | ||
207 | static void __init assabet_init(void) | 213 | static void __init assabet_init(void) |