diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-01-25 09:05:04 +0100 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-26 11:29:47 -0800 | 
| commit | 3afbd89c9639c344300dcdd7d4e5e18dda559fd4 (patch) | |
| tree | 940e4cde7ef30ea0021ffc216e7ceef5c3e154b8 /include/linux | |
| parent | e9aba5158a80098447ff207a452a3418ae7ee386 (diff) | |
| download | olio-linux-3.10-3afbd89c9639c344300dcdd7d4e5e18dda559fd4.tar.xz olio-linux-3.10-3afbd89c9639c344300dcdd7d4e5e18dda559fd4.zip  | |
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 00000000000..ed0e975b3c5 --- /dev/null +++ b/include/linux/platform_data/efm32-uart.h @@ -0,0 +1,18 @@ +/* + * + * + */ +#ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ +#define __LINUX_PLATFORM_DATA_EFM32_UART_H__ + +#include <linux/types.h> + +/** + * struct efm32_uart_pdata + * @location: pinmux location for the I/O pins (to be written to the ROUTE + * 	register) + */ +struct efm32_uart_pdata { +	u8 location; +}; +#endif /* ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ */ diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index c91ace70c21..585bfd03d2e 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -210,6 +210,8 @@  /* Atheros AR933X SoC */  #define PORT_AR933X	99 +/* Energy Micro efm32 SoC */ +#define PORT_EFMUART   100  #ifdef __KERNEL__  |