mbox series

[v2,0/6] dmaengine: jz4780: Driver updates v2

Message ID 20211206174259.68133-1-paul@crapouillou.net
Headers show
Series dmaengine: jz4780: Driver updates v2 | expand

Message

Paul Cercueil Dec. 6, 2021, 5:42 p.m. UTC
Hi Vinod,

A small set of updates to the dma-jz4780 driver.

It adds support for the MDMA/BDMA engines in the JZ4760(B) and JZ4770
SoCs, which are just regular cores with less channels.

It also adds support for bidirectional channels, so that devices that
only do half-duplex transfers can request a single DMA channel for both
directions.

Changes since V1 include:
- indentation fixes in patch [1/6],
- a better worded documentation in patch [2/6],
- a new patch [5/6] to convert all uses of uint32_t to u32.

You mentioned the fact that it would be great to have an exemple in the
documentation file that uses #dma-cells = <3>. I will add one in a
future patchset to the SD controller's binding documentation, when its
driver will be updated to support bidirectional DMA channels.

Cheers,
-Paul

Paul Cercueil (6):
  dt-bindings: dma: ingenic: Add compatible strings for MDMA and BDMA
  dt-bindings: dma: ingenic: Support #dma-cells = <3>
  dmaengine: jz4780: Work around hardware bug on JZ4760 SoCs
  dmaengine: jz4780: Add support for the MDMA and BDMA in the JZ4760(B)
  dmaengine: jz4780: Replace uint32_t with u32
  dmaengine: jz4780: Support bidirectional I/O on one channel

 .../devicetree/bindings/dma/ingenic,dma.yaml  |  42 ++++---
 drivers/dma/dma-jz4780.c                      | 118 +++++++++++++-----
 2 files changed, 113 insertions(+), 47 deletions(-)

Comments

Vinod Koul Dec. 13, 2021, 6:22 a.m. UTC | #1
On 06-12-21, 17:42, Paul Cercueil wrote:
> Hi Vinod,
> 
> A small set of updates to the dma-jz4780 driver.
> 
> It adds support for the MDMA/BDMA engines in the JZ4760(B) and JZ4770
> SoCs, which are just regular cores with less channels.
> 
> It also adds support for bidirectional channels, so that devices that
> only do half-duplex transfers can request a single DMA channel for both
> directions.

Applied, thanks
Paul Cercueil Dec. 13, 2021, 2:43 p.m. UTC | #2
Le lun., déc. 13 2021 at 11:52:32 +0530, Vinod Koul <vkoul@kernel.org> 
a écrit :
> On 06-12-21, 17:42, Paul Cercueil wrote:
>>  Hi Vinod,
>> 
>>  A small set of updates to the dma-jz4780 driver.
>> 
>>  It adds support for the MDMA/BDMA engines in the JZ4760(B) and 
>> JZ4770
>>  SoCs, which are just regular cores with less channels.
>> 
>>  It also adds support for bidirectional channels, so that devices 
>> that
>>  only do half-duplex transfers can request a single DMA channel for 
>> both
>>  directions.
> 
> Applied, thanks

Thanks!
-Paul