[PW_SID:957642] riscv: dts: sophgo: fix DMA data-width configuration for CV18xx#348
[PW_SID:957642] riscv: dts: sophgo: fix DMA data-width configuration for CV18xx#348linux-riscv-bot wants to merge 2 commits into
Conversation
The "snps,data-width" property[1] defines the AXI data width of the DMA
controller as:
width = 8 × (2^n) bits
(0 = 8 bits, 1 = 16 bits, 2 = 32 bits, ..., 6 = 512 bits)
where "n" is the value of "snps,data-width".
For the CV18xx DMA controller, the correct AXI data width is 32 bits,
corresponding to "snps,data-width = 2".
Test results on Milkv Duo S can be found here [2].
Link: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/dma/snps%2Cdw-axi-dmac.yaml#L74 [1]
Link: https://gist.github.com/Sutter099/4fa99bb2d89e5af975983124704b3861 [2]
Co-developed-by: Yu Yuan <yu.yuan@sjtu.edu.cn>
Signed-off-by: Yu Yuan <yu.yuan@sjtu.edu.cn>
Signed-off-by: Ze Huang <huange@whut.edu.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
|
Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx" |
c8da138 to
4d9ad71
Compare
PR for series 957642 applied to workflow__riscv__fixes
Name: riscv: dts: sophgo: fix DMA data-width configuration for CV18xx
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=957642
Version: 1