Skip to content

serial: 8250: 8250_dw changes and dmaengine support

Heikki Krogerus linux-serial lkml 3 versions – New

Get series with b4
b4 am 1357809912-25790-1-git-send-email-heikki.krogerus@linux.intel.com

Versions newest first · linked by author and title

  1. v3 Latest8 patches 0 repliesNew
  2. v25 patches 5 repliesSuperseded
  3. v15 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- ACPI support for 8250_dw.c
- dmaengine API support for 8250

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8serial: 8250: Allow drivers to deliver capabilitiesdrivers/tty/serial/8250/8250.c+16 -60 replies
2/8serial: 8250_dw: Don't use UPF_FIXED_TYPEdrivers/tty/serial/8250/8250_dw.c+1 -10 replies
3/8serial: 8250_dw: Map IO memorydrivers/tty/serial/8250/8250_dw.c+5 -20 replies
4/8serial: 8250_dw: Move device tree code to separate functiondrivers/tty/serial/8250/8250_dw.c+47 -310 replies
5/8serial: 8250_dw: Set FIFO size dynamicallydrivers/tty/serial/8250/8250_dw.c+53 -40 replies
6/8serial: 8250_dw: Add ACPI 5.0 supportdrivers/tty/serial/8250/8250_dw.c drivers/tty/serial/8250/Kconfig+42 -10 replies
7/8serial: 8250: Add support for dmaenginedrivers/tty/serial/8250/8250.c drivers/tty/serial/8250/8250.h drivers/tty/serial/8250/8250_dma.c +3 more+304 -30 replies
8/8serial: 8250_dw: Enable DMA support with ACPIdrivers/tty/serial/8250/8250_dw.c+65 -00 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchJamie IlesAlan Cox
1/8R-b A-b
2/8R-b A-b
3/8R-b A-b
4/8R-b A-b
5/8R-b A-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 0/8] serial: 8250: 8250_dw changes and dmaengine support

Changes since v2:
- ACPI support for 8250_dw.c
- dmaengine API support for 8250

It looks like there are a few UART drivers that are more or less identical with 8250.c except they include DMA support, so if we had DMA support in 8250.c there may be no need for them. Since dmaengine is now supported on most platforms, I decided to suggest this solution.

I tried to make the DMA support as simple as I could. Single transfers with single descriptors. This should be sufficient in most cases.

Heikki Krogerus (8):
serial: 8250: Allow drivers to deliver capabilities
serial: 8250_dw: Don't use UPF_FIXED_TYPE
serial: 8250_dw: Map IO memory
serial: 8250_dw: Move device tree code to separate function
serial: 8250_dw: Set FIFO size dynamically
serial: 8250_dw: Add ACPI 5.0 support
serial: 8250: Add support for dmaengine
serial: 8250_dw: Enable DMA support with ACPI

 drivers/tty/serial/8250/8250.c     |   53 ++++++--
 drivers/tty/serial/8250/8250.h     |   50 ++++++++
 drivers/tty/serial/8250/8250_dma.c |  213 +++++++++++++++++++++++++++++++
 drivers/tty/serial/8250/8250_dw.c  |  248 ++++++++++++++++++++++++++++++------
 drivers/tty/serial/8250/Kconfig    |   10 +-
 drivers/tty/serial/8250/Makefile   |    1 +
 include/linux/serial_8250.h        |    4 +
 7 files changed, 532 insertions(+), 47 deletions(-)
 create mode 100644 drivers/tty/serial/8250/8250_dma.c
Signature · 1 line
1.7.10.4