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)
commit06006ad29abeee1f94d1793107309ce100067e46
treec281b407f3eb9bc20fcbdd006900e0f537cbdd9e
parent3123109284176b1532874591f7c81f3837bbdc17
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