ACPI 5.0 specification introduces enumeration support for SPB buses. This patch set adds the UART serial bus enumeration support to Linux using such mechanism. This patch set is based on the tty tree/tty-next branch. History: v1: 1. Add "uart" bus subsystem. 2. Add physical UART target device and description (uart_device/uart_board_info). 3. Add logical UART host adapter (klist). 4. Add UART target device attributes (tty_dev/tty_attrs/modem_lines). 5. Create tty_device<->uart_device links (host_node/target_node). v2. 1. Change UART layer related stuff to non-UART related. 2. Modify the order of the function parameters. v3: 1. Add comments for the uart_board_info and the uart_device. 2. Add platform_data/archdata support. 3. Add ACPI binding and test the binding (in seperate patch). 4. Add SERIAL_BUS kconfig item. v4 1. Convert "uart" bus into "tty_enum" bus. 2. Convert uart_target_device into tty_slave_device. 3. Convert uart_board_info into tty_board_info. 3. Convert kconfig item SERIAL_BUS into TTY_ENUM. 4. Add automatic device unregister support for slave devices. The new tty_port_unregister_device is for this purpose. 5. Add HID/CID list support. 6. Convert TTY slave device name into ACPI node name. v5 1. Add missing static reported by recent kernel build test. Lv Zheng (2): TTY: Add TTY slave enumeration support ACPI / UART: Add ACPI enumeration support for UART drivers/acpi/Kconfig | 6 + drivers/acpi/Makefile | 1 + drivers/acpi/acpi_uart.c | 215 +++++++++++++++++++++++ drivers/tty/Kconfig | 3 + drivers/tty/Makefile | 1 + drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/serial_core.c | 2 +- drivers/tty/tty_enum.c | 357 ++++++++++++++++++++++++++++++++++++++ drivers/tty/tty_port.c | 42 ++++- include/linux/mod_devicetable.h | 6 + include/linux/tty.h | 112 ++++++++++++ 11 files changed, 742 insertions(+), 4 deletions(-) create mode 100644 drivers/acpi/acpi_uart.c create mode 100644 drivers/tty/tty_enum.c -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html