linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lv Zheng <lv.zheng@intel.com>
To: Len Brown <len.brown@intel.com>,
	Rafael J Wysocki <rafael.j.wysocki@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alan Cox <alan@linux.intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: linux-acpi@vger.kernel.org, linux-serial@vger.kernel.org,
	Lv Zheng <lv.zheng@intel.com>
Subject: [RFC PATCH v4 0/3] ACPI/UART: Add ACPI 5.0 enueration support for UART.
Date: Wed, 9 Jan 2013 09:17:52 +0000 (UTC)
Date: Fri, 11 Jan 2013 01:16:55 +0800	[thread overview]
Message-ID: <cover.1357837482.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1354505471.git.lv.zheng@intel.com>

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.
NOTE: PATCH 3 is a test patch, should not be merged into any published
      Linux source tree.
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.
  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.

All of the codes can be tested by the dummy 8250 device.


Lv Zheng (3):
  TTY: Add TTY slave enumeration support.
  ACPI / UART: Add ACPI enumeration support for UART.
  UART: Add dummy devices to test the enumeration.

 drivers/acpi/Kconfig                 |    6 +
 drivers/acpi/Makefile                |    1 +
 drivers/acpi/acpi_uart.c             |  215 ++++++++++++++++++++
 drivers/acpi/scan.c                  |    1 +
 drivers/tty/Kconfig                  |    3 +
 drivers/tty/Makefile                 |    1 +
 drivers/tty/serial/8250/8250.c       |    5 +-
 drivers/tty/serial/8250/8250_dummy.c |  103 ++++++++++
 drivers/tty/serial/8250/Kconfig      |   10 +
 drivers/tty/serial/8250/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/serial_8250.h          |    4 +
 include/linux/serial_core.h          |   12 ++
 include/linux/tty.h                  |  112 +++++++++++
 18 files changed, 875 insertions(+), 7 deletions(-)
 create mode 100644 drivers/acpi/acpi_uart.c
 create mode 100644 drivers/tty/serial/8250/8250_dummy.c
 create mode 100644 drivers/tty/tty_enum.c

-- 
1.7.10


  parent reply	other threads:[~2013-01-09  9:17 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03  3:39 [RFC PATCH 0/3] ACPI/UART: Add ACPI 5.0 enueration support for UART Lv Zheng
2012-12-03  3:39 ` [RFC PATCH 1/3] UART: Add UART subsystem as a bus Lv Zheng
2012-12-03 11:46   ` Alan Cox
2012-12-05  3:37     ` Zheng, Lv
2012-12-04 18:54   ` Mika Westerberg
2012-12-04 19:50     ` Alan Cox
2012-12-05  6:20       ` Mika Westerberg
2012-12-05  7:07         ` Zheng, Lv
2012-12-05  7:42           ` Mika Westerberg
2012-12-05  9:43         ` Alan Cox
2012-12-06  1:26           ` Zheng, Lv
2012-12-06  1:55             ` Zheng, Lv
2012-12-06 13:53             ` Alan Cox
2012-12-07  4:54               ` Zheng, Lv
2012-12-07  5:41                 ` Zheng, Lv
2012-12-07  7:24                   ` Huang Ying
2012-12-07 10:27                   ` Alan Cox
2012-12-07 10:25                 ` Alan Cox
2012-12-06  7:36           ` Zheng, Lv
2012-12-06  7:52             ` Mika Westerberg
2012-12-05  3:49     ` Zheng, Lv
2012-12-03  3:40 ` [RFC PATCH 2/3] ACPI / UART: Add ACPI enumeration support for UART bus Lv Zheng
2012-12-03  3:40 ` [RFC PATCH 3/3] UART: Add dummy devices to test the enumeration Lv Zheng
2012-12-05  3:51 ` [PATCH v2 0/4] ACPI/UART: Add ACPI 5.0 enueration support for UART Lv Zheng
2012-12-05  3:51   ` [PATCH v2 1/4] UART: Add UART subsystem as a bus Lv Zheng
2012-12-05  3:51   ` [PATCH v2 2/4] ACPI / UART: Add ACPI enumeration support for UART bus Lv Zheng
2012-12-05  3:51   ` [PATCH v2 3/4] UART / 8250: Add declearation of serial8250 driver Lv Zheng
2012-12-05  3:52   ` [PATCH v2 4/4] UART: Add dummy devices to test the enumeration Lv Zheng
2012-12-06  9:21 ` [RFC PATCH v3 0/4] ACPI/UART: Add ACPI 5.0 enueration support for UART Lv Zheng
2012-12-06  9:21   ` [RFC PATCH v3 1/4] UART: Add UART subsystem as a bus Lv Zheng
2012-12-06 13:40     ` Alan Cox
2012-12-07  3:52       ` Zheng, Lv
2012-12-07 10:22         ` Alan Cox
2012-12-06  9:22   ` [RFC PATCH v3 2/4] ACPI / UART: Add ACPI enumeration support for UART bus Lv Zheng
2012-12-06  9:22   ` [RFC PATCH v3 3/4] UART / 8250: Add declearation of serial8250 driver Lv Zheng
2012-12-06  9:22   ` [RFC PATCH v3 4/4] UART: Add dummy devices to test the enumeration Lv Zheng
2013-01-09  9:17 ` Lv Zheng [this message]
2013-01-09  9:17   ` [RFC PATCH v4 1/3] TTY: Add TTY slave enumeration support Lv Zheng
2013-01-09  9:17   ` Lv Zheng
2013-01-09  9:18   ` [RFC PATCH v4 2/3] ACPI / UART: Add ACPI enumeration support for UART Lv Zheng
2013-01-09  9:18   ` Lv Zheng
2013-01-09  9:18   ` [RFC PATCH v4 3/3] UART: Add dummy devices to test the enumeration Lv Zheng
2013-01-09  9:18   ` Lv Zheng
2013-01-09  9:17 ` [RFC PATCH v4 0/3] ACPI/UART: Add ACPI 5.0 enueration support for UART Lv Zheng
2013-01-24 10:30 ` [PATCH v5 0/2] ACPI/UART: Add ACPI 5.0 enumeration " Lv Zheng
2013-01-24 10:30   ` [PATCH v5 1/2] TTY: Add TTY slave enumeration support Lv Zheng
2013-01-25 21:41     ` Greg Kroah-Hartman
2013-01-26  0:32       ` Alan Cox
2013-01-26  0:21         ` Greg Kroah-Hartman
2013-01-26  3:04       ` Zheng, Lv
2013-01-26  3:42         ` Greg Kroah-Hartman
2013-01-28  2:58           ` Zheng, Lv
2013-01-30  4:46             ` Greg Kroah-Hartman
2013-01-25 21:45     ` Greg Kroah-Hartman
2013-01-26  3:12       ` Zheng, Lv
2013-01-26  3:44         ` Greg Kroah-Hartman
2013-01-28  3:02           ` Zheng, Lv
2013-01-24 10:30   ` [PATCH v5 2/2] ACPI / UART: Add ACPI enumeration support for UART Lv Zheng
2013-01-24 10:30 ` [RFC PATCH v5] HACK: UART: Add dummy devices to test the enumeration Lv Zheng
2013-02-06  6:26 ` [RFC PATCH] ACPI / serial: Add UART change_pm support with ACPI power domain Lv Zheng
2013-02-06 19:07   ` Greg Kroah-Hartman
2013-02-06 21:39     ` Rafael J. Wysocki
2013-02-06 21:38       ` Greg Kroah-Hartman
2013-02-07  0:38         ` Zheng, Lv
2013-04-03  2:05 ` [PATCH v6] ACPI / serial: Add peripheral PnP IDs enumeration support Lv Zheng
2013-04-03 16:14   ` Greg Kroah-Hartman
2013-04-04 10:12     ` Zheng, Lv
2013-04-07  3:05       ` Zheng, Lv
2013-04-04 15:43     ` Zheng, Lv
2013-04-04 18:23       ` Greg Kroah-Hartman
2013-04-07  3:11         ` Zheng, Lv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1357837482.git.lv.zheng@intel.com \
    --to=lv.zheng@intel.com \
    --cc=alan@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rafael.j.wysocki@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).