serial: 8250_pnp: Support configurable reg shift property
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest3 patches 2 repliesIn review
- v73 patches 2 repliesSuperseded
- v63 patches 3 repliesSuperseded
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PNP: Add dev_is_pnp() macroinclude/ | +4 | 2 replies | |
| 2/3 | serial: port: Add support of PNP IRQ to __uart_read_properties()drivers/ | +6 | 0 replies | |
| 3/3 | serial: 8250_pnp: Support configurable reg shift propertydrivers/ | +25 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Bing Fan | Linheng Du | Andy Shevchenko | Rafael J. Wysocki |
|---|---|---|---|---|
| 1/3 | R-b | T-b | R-b | A-b |
| 2/3 | R-b | T-b | R-b | |
| 3/3 | R-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.
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