Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20210806095322.2326-3-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Biju Das and committed by
Vinod Koul
ab959c7d 9b9b1253

+2 -1
+2 -1
include/linux/dmaengine.h
··· 380 380 DMA_SLAVE_BUSWIDTH_16_BYTES = 16, 381 381 DMA_SLAVE_BUSWIDTH_32_BYTES = 32, 382 382 DMA_SLAVE_BUSWIDTH_64_BYTES = 64, 383 + DMA_SLAVE_BUSWIDTH_128_BYTES = 128, 383 384 }; 384 385 385 386 /** ··· 399 398 * @src_addr_width: this is the width in bytes of the source (RX) 400 399 * register where DMA data shall be read. If the source 401 400 * is memory this may be ignored depending on architecture. 402 - * Legal values: 1, 2, 3, 4, 8, 16, 32, 64. 401 + * Legal values: 1, 2, 3, 4, 8, 16, 32, 64, 128. 403 402 * @dst_addr_width: same as src_addr_width but for destination 404 403 * target (TX) mutatis mutandis. 405 404 * @src_maxburst: the maximum number of words (note: words, as in