blob: 7c1f4f94cd08c48547bab9bf0cb15a54b4c6a5b0 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From bd7176b9cb91671b248fbdef0c65d2893fd78226 Mon Sep 17 00:00:00 2001
2From: Richard Zhu <hongxing.zhu@nxp.com>
3Date: Fri, 25 Jan 2019 18:02:22 +0800
4Subject: [PATCH] dma: imx: add the 32bit dma limitation
5
6Since the imx8qm/qxp hsio only supports up to 32bit
7dma capability.
8Add the 32bit dma limitation into dma binding document.
9
10Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
11---
12 Documentation/devicetree/bindings/dma/fsl-imx-dma.txt | 15 +++++++++++++++
13 1 file changed, 15 insertions(+)
14
15--- a/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt
16+++ b/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt
17@@ -16,6 +16,21 @@ Optional properties:
18 - #dma-channels : Number of DMA channels supported. Should be 16.
19 - #dma-requests : Number of DMA requests supported.
20
21+* DMA capability limitation
22+
23+Specify the DMA capability limitations.
24+For example, some SoCs only support up to 32bit DMA capability, although
25+they are 64bit SoCs.
26+
27+- only-dma-mask32: 1 means that the SoCs only suppot up to 32bit DMA
28+ capability.
29+
30+Example:
31+ dma_cap: dma_cap {
32+ compatible = "dma-capability";
33+ only-dma-mask32 = <1>;
34+ };
35+
36 Example:
37
38 dma: dma@10001000 {