mbox series

[0/2] dmaengine: ti: k3-udma: Get supported throughput levels from hardware

Message ID 20200717120903.8774-1-peter.ujfalusi@ti.com (mailing list archive)
Headers show
Series dmaengine: ti: k3-udma: Get supported throughput levels from hardware | expand

Message

Peter Ujfalusi July 17, 2020, 12:09 p.m. UTC
Hi,

Newer versions of UDMAP have information on the number of different throughput
channels in it's CAP registers.

The driver can auto configure based on the information from the hardware isntead
a table within the match_data.

With this change we can use the same compatible string for identical versions of
UDMAP when only the number of UHCHAN and HCHAN is different.

Regards,
Peter
---
Peter Ujfalusi (2):
  dmaengine: ti: k3-udma: Use defines for capabilities register parsing
  dmaengine: ti: k3-udma: Query throughput level information from
    hardware

 drivers/dma/ti/k3-udma.c | 69 ++++++++++++++++++++--------------------
 drivers/dma/ti/k3-udma.h |  8 +++++
 2 files changed, 42 insertions(+), 35 deletions(-)

Comments

Vinod Koul July 27, 2020, 8:53 a.m. UTC | #1
On 17-07-20, 15:09, Peter Ujfalusi wrote:
> Hi,
> 
> Newer versions of UDMAP have information on the number of different throughput
> channels in it's CAP registers.
> 
> The driver can auto configure based on the information from the hardware isntead
> a table within the match_data.
> 
> With this change we can use the same compatible string for identical versions of
> UDMAP when only the number of UHCHAN and HCHAN is different.

Applied, thanks