[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230320081133.23655-1-chiawei_wang@aspeedtech.com>
Date: Mon, 20 Mar 2023 16:11:28 +0800
From: Chia-Wei Wang <chiawei_wang@...eedtech.com>
To: <vkoul@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <joel@....id.au>,
<andrew@...id.au>, <gregkh@...uxfoundation.org>,
<jirislaby@...nel.org>, <pmenzel@...gen.mpg.de>,
<ilpo.jarvinen@...ux.intel.com>, <hdanton@...a.com>,
<dmaengine@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-aspeed@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
<linux-serial@...r.kernel.org>, <openbmc@...ts.ozlabs.org>
Subject: [PATCH v3 0/5] arm: aspeed: Add UART DMA support
This patch serias adds the 8250 driver with DMA support for AST26xx UART devices
v3 change:
- add error check against dma_to_phys
- revise UDMA binding
- remove UDMA binding header
- remove redundant header inclusions of UDMA driver
- fix incorrect UDMA channel number (14->28)
- place UDMA kconfig in alphabetical order
- collect Acked-by tags
v2 change:
- re-write UDMA driver based on the DMAEngine framework
- re-write 8250_aspeed driver with DMA support based on the 8250_dma implementation
- remove virtual UART part as there is already a 8250_aspeed_vuart driver
Chia-Wei Wang (5):
dt-bindings: serial: 8250: Add aspeed,ast2600-uart
dt-bindings: dmaengine: Add AST2600 UDMA bindings
dmaengine: aspeed: Add AST2600 UART DMA driver
serial: 8250: Add AST2600 UART driver
ARM: dts: aspeed-g6: Add UDMA node
.../bindings/dma/aspeed,ast2600-udma.yaml | 56 ++
.../devicetree/bindings/serial/8250.yaml | 1 +
arch/arm/boot/dts/aspeed-g6.dtsi | 9 +
drivers/dma/Kconfig | 9 +
drivers/dma/Makefile | 1 +
drivers/dma/ast2600-udma.c | 534 ++++++++++++++++++
drivers/tty/serial/8250/8250_aspeed.c | 224 ++++++++
drivers/tty/serial/8250/Kconfig | 8 +
drivers/tty/serial/8250/Makefile | 1 +
9 files changed, 843 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/aspeed,ast2600-udma.yaml
create mode 100644 drivers/dma/ast2600-udma.c
create mode 100644 drivers/tty/serial/8250/8250_aspeed.c
--
2.25.1
Powered by blists - more mailing lists