serial: 8250_dw add big endian support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest3 patches 2 repliesIn review
- v81 patch 5 repliesSuperseded
- v7 posting 2/21 patch 6 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v6 posting 2/2 | 1 patch | 1 reply | Superseded | |
| v6 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v5 posting 2/2 | 1 patch | 1 reply | Superseded | |
| v5 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v4 | 2 patches | 1 reply | Superseded | |
| v1 | 4 patches | 20 replies | Superseded |
Changes in v9 from the cover letter
1) split patch into check_lcr routine and then add big endian feature
2) add new iotype support for BE 32 bit
3) make each call to readl/writel depend on iotype
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()drivers/ | +42 | 2 replies | |
| 2/3 | serial: 8250_dw: Add support for big-endian MMIO accessesdrivers/ | +23 | 0 replies | |
| 3/3 | serial: 8250_dw: Do not use readl/writel before checking port iotypedrivers/ | +10 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Heikki Krogerus |
|---|---|---|
| 1/3 | A-b | R-b |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v9 0/3] serial: 8250_dw add big endian support
From: Noam Camus <[email protected]>
Add support for UPIO_MEM32BE in addition to UPIO_MEM32.
v9 change:
1) split patch into check_lcr routine and then add big endian feature
2) add new iotype support for BE 32 bit
3) make each call to readl/writel depend on iotype
V8 change:
rebase on tty-next head, no functional change.
V7 change:
Fix build warning due to redundant "const" qualifier at _dw8250_serial_in32be() signature.
V6 change:
Adapt patch to latest version (nothing functional)
V5 change:
Two patches is now squashed into single one
V4 change
Remove patch for skipping looptest through DT option. This is now handled in our simulator model. Thanks to Vineet Gupta from Synopsys for his help.
We are left with 2 patches which adds BIG endian support.
V3 change:
Use second level accessors for big/little endian port. The new accessors are now pointed from uart_port->private_data These accessors are initialized during driver probe(). Driver shouldn't access directly to readl/writel but to these new second level accessors (first level is at uart_port). e.g. at dw8250_check_LCR() and dw8250_setup_port() I replaced such direct calls.
V2 changes:
1) better description for each commit.
2) adding to CC list the device tree maintainer.
3) rename dw8250_check_control() --> dw8250_check_LCR().
4) remove bad patch of "add UPF_FIXED_TYPE to flags".
Noam Camus (3):
serial: 8250_dw: Avoid serial_outx code duplicate with new
dw8250_check_lcr()
serial: 8250_dw: Add support for big-endian MMIO accesses
serial: 8250_dw: Do not use readl/writel before checking port iotype
drivers/tty/serial/8250/8250_dw.c | 126 ++++++++++++++++++++++--------------- 1 files changed, 75 insertions(+), 51 deletions(-)