treewide: use wpad-basic-wolfssl as default
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 806-dma-0018-dma-imx-add-the-32bit-dma-limitation.patch
1 From bd7176b9cb91671b248fbdef0c65d2893fd78226 Mon Sep 17 00:00:00 2001
2 From: Richard Zhu <hongxing.zhu@nxp.com>
3 Date: Fri, 25 Jan 2019 18:02:22 +0800
4 Subject: [PATCH] dma: imx: add the 32bit dma limitation
5
6 Since the imx8qm/qxp hsio only supports up to 32bit
7 dma capability.
8 Add the 32bit dma limitation into dma binding document.
9
10 Signed-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 {