Skip to content

Commit ab959c7

Browse files
bijudasvinodkoul
authored andcommitted
dmaengine: Extend the dma_slave_width for 128 bytes
Add DMA_SLAVE_BUSWIDTH_128_BYTES to dma_slave_width for DMA engines and users to select 128 bytes as bus width. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 9b9b125 commit ab959c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/dmaengine.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ enum dma_slave_buswidth {
380380
DMA_SLAVE_BUSWIDTH_16_BYTES = 16,
381381
DMA_SLAVE_BUSWIDTH_32_BYTES = 32,
382382
DMA_SLAVE_BUSWIDTH_64_BYTES = 64,
383+
DMA_SLAVE_BUSWIDTH_128_BYTES = 128,
383384
};
384385

385386
/**
@@ -398,7 +399,7 @@ enum dma_slave_buswidth {
398399
* @src_addr_width: this is the width in bytes of the source (RX)
399400
* register where DMA data shall be read. If the source
400401
* is memory this may be ignored depending on architecture.
401-
* Legal values: 1, 2, 3, 4, 8, 16, 32, 64.
402+
* Legal values: 1, 2, 3, 4, 8, 16, 32, 64, 128.
402403
* @dst_addr_width: same as src_addr_width but for destination
403404
* target (TX) mutatis mutandis.
404405
* @src_maxburst: the maximum number of words (note: words, as in

0 commit comments

Comments
 (0)