diff options
author | Arnaud Patard <arnaud.patard@rtp-net.org> | 2007-05-09 16:41:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-11 12:19:37 -0400 |
commit | 7fdc7849d2f9f926cbaec224bbcbacb164b07b23 (patch) | |
tree | b7fea8c279e225517324f3714c24999916a0dfe7 /arch/arm/mach-s3c2410/mach-h1940.c | |
parent | b8b6970b4fe08397554295b0c5169bec7575f7c9 (diff) |
[ARM] 4359/3: H1940: Add bluetooth support
This patch adds a small driver responsible for configuring the UART used
for the bluetooth chip and for enabling the bluetooth chipset.
Additionnaly, can trigger a led if the H1940 led driver is enabled.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-h1940.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 5d5f00e9c46..5ccd0be23a3 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -177,6 +177,11 @@ static struct platform_device s3c_device_leds = { | |||
177 | .id = -1, | 177 | .id = -1, |
178 | }; | 178 | }; |
179 | 179 | ||
180 | static struct platform_device s3c_device_bluetooth = { | ||
181 | .name = "h1940-bt", | ||
182 | .id = -1, | ||
183 | }; | ||
184 | |||
180 | static struct platform_device *h1940_devices[] __initdata = { | 185 | static struct platform_device *h1940_devices[] __initdata = { |
181 | &s3c_device_usb, | 186 | &s3c_device_usb, |
182 | &s3c_device_lcd, | 187 | &s3c_device_lcd, |
@@ -185,6 +190,7 @@ static struct platform_device *h1940_devices[] __initdata = { | |||
185 | &s3c_device_iis, | 190 | &s3c_device_iis, |
186 | &s3c_device_usbgadget, | 191 | &s3c_device_usbgadget, |
187 | &s3c_device_leds, | 192 | &s3c_device_leds, |
193 | &s3c_device_bluetooth, | ||
188 | }; | 194 | }; |
189 | 195 | ||
190 | static void __init h1940_map_io(void) | 196 | static void __init h1940_map_io(void) |