Skip to content

8250: AMD Carrizo UART PL300 DMA enablement

Wang Hongcheng linux-acpi linux-arm-kernel linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 14 repliesIn review

Changes in v1 from the cover letter

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/68250/Kconfig: add config option CONFIG_SERIAL_8250_AMDdrivers/tty/serial/8250/Kconfig+8 -04 replies
2/6ACPI: create setup_quirk in acpi_apddrivers/acpi/acpi_apd.c+121 -101 reply
3/6ACPI: add 2 parameters to function acpi dma controller registerdrivers/dma/acpi-dma.c drivers/dma/dw/platform.c include/linux/acpi_dma.h+27 -65 replies
4/6dmaengine: pl330: add new items for pl330 private datadrivers/acpi/acpi_apd.c drivers/dma/pl330.c include/linux/amba/pl330.h+27 -11 reply
5/6dmaengine: pl330: provide ACPI dmaengine interfacedrivers/acpi/acpi_apd.c drivers/dma/pl330.c include/linux/amba/pl330.h+56 -91 reply
6/6Serial:8250: New Port Type PORT_AMD_8250drivers/acpi/acpi_apd.c drivers/tty/serial/8250/8250_dw.c drivers/tty/serial/8250/8250_port.c +3 more+46 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] 8250: AMD Carrizo UART PL300 DMA enablement

Hi, all

As AMD carrizo UART device is compatible with 8250 and has pl330 DMA IP, our uart driver is serial:8250 and DMA engine is registered by driver/dma/pl330. The following patches are made, in order to enable DMA.

V1:
http://lkml.kernel.org/g/[email protected]

Major changes from V1->V2:
- Create an amba device in driver/acpi/acpi_apd.c, as the DMA device relies on UART device and it can only be used by UART device, they are not siblings. UART device should be the parent of DMA device.
- base_request_line and num are added to acpi dma controller register

Thanks,
Hongcheng (Annie)

Wang Hongcheng (6):
8250/Kconfig: add config option CONFIG_SERIAL_8250_AMD
ACPI: create setup_quirk in acpi_apd
ACPI: add 2 parameters to function acpi dma controller register
dmaengine: pl330: add new items for pl330 private data
dmaengine: pl330: provide ACPI dmaengine interface Serial:8250: New Port Type PORT_AMD_8250

 drivers/acpi/acpi_apd.c               | 175 ++++++++++++++++++++++++++++++++--
 drivers/dma/acpi-dma.c                |  25 ++++-
 drivers/dma/dw/platform.c             |   2 +-
 drivers/dma/pl330.c                   |  36 ++++++-
 drivers/tty/serial/8250/8250_dw.c     |  15 +++
 drivers/tty/serial/8250/8250_port.c   |   9 ++
 drivers/tty/serial/8250/Kconfig       |   8 ++
 include/linux/acpi_dma.h              |   6 ++
 include/linux/amba/pl330.h            |   6 ++
 include/linux/platform_data/8250-dw.h |   8 ++
 include/uapi/linux/serial_core.h      |   3 +-
 include/uapi/linux/serial_reg.h       |   1 +
 12 files changed, 276 insertions(+), 18 deletions(-)
 create mode 100644 include/linux/platform_data/8250-dw.h
Signature · 1 line
1.9.1