]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: dma-engine: sifive,fu540: Add dma-channels property and modify compatible
authorZong Li <zong.li@sifive.com>
Mon, 28 Mar 2022 09:52:22 +0000 (17:52 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 8 Apr 2022 13:13:29 +0000 (18:43 +0530)
commit9fcc9bac04c50a3db1d9b0ab7b433e637aaf90cc
treec281b407f3eb9bc20fcbdd006900e0f537cbdd9e
parent6d94017b7b59bab528be97be158d0d602982e3a6
dt-bindings: dma-engine: sifive,fu540: Add dma-channels property and modify compatible

Add dma-channels property, then we can determine how many channels there
by device tree, rather than statically defining it in PDMA driver.
In addition, we also modify the compatible for PDMA versioning scheme.

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Suggested-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Link: https://lore.kernel.org/r/7cc9a7b5f7e6c28fc9eb172c441b5aed2159b8a0.1648461096.git.zong.li@sifive.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml