diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-01-25 03:05:04 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-26 14:29:47 -0500 |
| commit | 3afbd89c9639c344300dcdd7d4e5e18dda559fd4 (patch) | |
| tree | 940e4cde7ef30ea0021ffc216e7ceef5c3e154b8 /include/linux | |
| parent | e9aba5158a80098447ff207a452a3418ae7ee386 (diff) | |
serial/efm32: add new driver
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/efm32-uart.h | 18 | ||||
| -rw-r--r-- | include/linux/serial_core.h | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/platform_data/efm32-uart.h b/include/linux/platform_data/efm32-uart.h new file mode 100644 index 000000000000..ed0e975b3c54 --- /dev/null +++ b/include/linux/platform_data/efm32-uart.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | * | ||
| 3 | * | ||
| 4 | */ | ||
| 5 | #ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ | ||
| 6 | #define __LINUX_PLATFORM_DATA_EFM32_UART_H__ | ||
| 7 | |||
| 8 | #include <linux/types.h> | ||
| 9 | |||
| 10 | /** | ||
| 11 | * struct efm32_uart_pdata | ||
| 12 | * @location: pinmux location for the I/O pins (to be written to the ROUTE | ||
| 13 | * register) | ||
| 14 | */ | ||
| 15 | struct efm32_uart_pdata { | ||
| 16 | u8 location; | ||
| 17 | }; | ||
| 18 | #endif /* ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ */ | ||
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index c91ace70c21d..585bfd03d2ee 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
| @@ -210,6 +210,8 @@ | |||
| 210 | /* Atheros AR933X SoC */ | 210 | /* Atheros AR933X SoC */ |
| 211 | #define PORT_AR933X 99 | 211 | #define PORT_AR933X 99 |
| 212 | 212 | ||
| 213 | /* Energy Micro efm32 SoC */ | ||
| 214 | #define PORT_EFMUART 100 | ||
| 213 | 215 | ||
| 214 | #ifdef __KERNEL__ | 216 | #ifdef __KERNEL__ |
| 215 | 217 | ||
