diff options
| author | Yuanshen Cao <alex.caoys@gmail.com> | 2026-08-26 02:40:28 +0000 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-05 15:32:15 +0200 |
| commit | 4ec2d7bbbf2c79a63469b4a027cd522abdbfb2f9 (patch) | |
| tree | c901707da162e458f2b876d8ffbfb84407427d08 /tools/lib/python/kdoc | |
| parent | 3b18c8e460760a7993c54f9d591b1b758349b1b3 (diff) | |
dmaengine: sun6i-dma: Support variable address widths using masks
The Allwinner A733 DMA controller supports higher addresses (up to
32G) compared to previous generations. The existing `sun6i_dma_set_addr`
function uses hardcoded logic for setting the high-address bits in the
LLI parameters.
Add `src_high_addr_mask` and `dst_high_addr_mask` to `struct
sun6i_dma_config` to handle different high-address bitfield mappings.
Update `sun6i_dma_set_addr` to use these masks via `field_prep()`,
allowing the driver to support variable address widths.
Signed-off-by: Yuanshen Cao <alex.caoys@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260826-sun60i-a733-dma-v5-2-abc5229b441e@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
