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 20:29:47 +0100 |
commit | 3afbd89c9639c344300dcdd7d4e5e18dda559fd4 (patch) | |
tree | 940e4cde7ef30ea0021ffc216e7ceef5c3e154b8 /include | |
parent | tty: rework pty count limiting (diff) | |
download | linux-3afbd89c9639c344300dcdd7d4e5e18dda559fd4.tar.xz linux-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')
-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 @@ +/* + * + * + */ +#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 c91ace70c21d..585bfd03d2ee 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__ |