linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] serial: at91: make usart and uart support dma transfer
@ 2013-07-09  6:33 Elen Song
  2013-07-09  6:33 ` [PATCH 1/7] serial: at91: correct definition from DMA to PDC Elen Song
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Elen Song @ 2013-07-09  6:33 UTC (permalink / raw)
  To: linux-arm-kernel

After at91sam9g45 socs, the usart only support dma transfer.
This patch serial focus on:
1) distinguish pdc and dma transfer
2) support usart dma rx and tx transfer
3) distinguish usart and uart
4) support uart dma rx and tx transfer

For those only support PDC transfer socs, we use "atmel,use-pdc-rx", "atmel,use-pdc-tx" to establish a PDC transfer.
So we switch the name from "use-dma" to "use-pdc" to state more clearly.
For those only support DMA transfer socs, we use dma binding to establish a DMA transfer, detail see the last patch.
We also distinguish usart and uart by read ip name, the dbgu is regard as a uart.
Because uart lack timeout function, we use software timer to trigger rx.

Elen Song (7):
  serial: at91: correct definition from DMA to PDC
  serial: at91: add tx dma support
  serial: at91: add rx dma support
  serial: at91: make DBGU support dma and pdc transfers
  serial: at91: distinguish usart and uart
  serial: at91: modify UART to use software timer to trigger rx
  serial: at91: add dma support in usart binding descriptions

 Documentation/devicetree/bindings/serial/rs485.txt |    4 +-
 .../devicetree/bindings/tty/serial/atmel-usart.txt |   29 +-
 arch/arm/boot/dts/at91rm9200.dtsi                  |   16 +-
 arch/arm/boot/dts/at91sam9260.dtsi                 |   24 +-
 arch/arm/boot/dts/at91sam9263.dtsi                 |   12 +-
 arch/arm/boot/dts/at91sam9g45.dtsi                 |   16 +-
 arch/arm/mach-at91/at91rm9200_devices.c            |   20 +-
 arch/arm/mach-at91/at91sam9260_devices.c           |   28 +-
 arch/arm/mach-at91/at91sam9261_devices.c           |   16 +-
 arch/arm/mach-at91/at91sam9263_devices.c           |   16 +-
 arch/arm/mach-at91/at91sam9g45_devices.c           |   20 +-
 arch/arm/mach-at91/at91sam9rl_devices.c            |   20 +-
 drivers/tty/serial/atmel_serial.c                  |  582 ++++++++++++++++++--
 include/linux/atmel_serial.h                       |    2 +
 include/linux/platform_data/atmel.h                |    2 +
 15 files changed, 665 insertions(+), 142 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-07-09 16:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09  6:33 [PATCH 0/7] serial: at91: make usart and uart support dma transfer Elen Song
2013-07-09  6:33 ` [PATCH 1/7] serial: at91: correct definition from DMA to PDC Elen Song
2013-07-09  7:31   ` Ludovic Desroches
2013-07-09  7:57     ` elen.song
2013-07-09  9:17       ` Ludovic Desroches
2013-07-09  9:19         ` elen.song
2013-07-09 11:21     ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-09 11:22   ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-09 13:34     ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-09 16:07   ` Nicolas Ferre
2013-07-09  6:33 ` [PATCH 2/7] serial: at91: add tx dma support Elen Song
2013-07-09  9:57   ` Ludovic Desroches
2013-07-09 10:24     ` elen.song
2013-07-09  6:33 ` [PATCH 3/7] serial: at91: add rx " Elen Song
2013-07-09  6:33 ` [PATCH 4/7] serial: at91: make DBGU support dma and pdc transfers Elen Song
2013-07-09 13:26   ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-09  6:33 ` [PATCH 5/7] serial: at91: distinguish usart and uart Elen Song
2013-07-09 11:25   ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-09  6:33 ` [PATCH 6/7] serial: at91: modify UART to use software timer to trigger rx Elen Song
2013-07-09  6:33 ` [PATCH 7/7] serial: at91: add dma support in usart binding descriptions Elen Song
2013-07-09  7:40   ` Ludovic Desroches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).