Skip to content

serial: 8250_pnp: Support configurable reg shift property

Guanbing Huang linux-acpi linux-serial lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 2 repliesIn review
  2. v73 patches 2 repliesSuperseded
  3. v63 patches 3 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PNP: Add dev_is_pnp() macroinclude/linux/pnp.h+4 -02 replies
2/3serial: port: Add support of PNP IRQ to __uart_read_properties()drivers/tty/serial/serial_port.c+6 -10 replies
3/3serial: 8250_pnp: Support configurable reg shift propertydrivers/tty/serial/8250/8250_pnp.c+25 -150 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBing FanLinheng DuAndy ShevchenkoRafael J. Wysocki
1/3R-b T-b R-b A-b
2/3R-b T-b R-b
3/3R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/3] serial: 8250_pnp: Support configurable reg shift property

From: Guanbing Huang <[email protected]>

The 16550a serial port based on the ACPI table requires obtaining the reg-shift attribute. In the ACPI scenario, If the reg-shift property is not configured like in DTS, the 16550a serial driver cannot read or write controller registers properly during initialization.

To address the issue of configuring the reg-shift property, the __uart_read_properties() universal interface is called to implement it. Adaptation of PNP devices is done in the __uart_read_properties() function.

Guanbing Huang (3):
PNP: Add dev_is_pnp() macro
serial: port: Add support of PNP IRQ to __uart_read_properties()
serial: 8250_pnp: Support configurable reg shift property

 drivers/tty/serial/8250/8250_pnp.c | 40 +++++++++++++++++++-----------
 drivers/tty/serial/serial_port.c   |  7 +++++-
 include/linux/pnp.h                |  4 +++
 3 files changed, 35 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1