lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1 1/2] dt-bindings: dma: mediatek: mark useless items as decrepted
Date
From: huihui wang <huihui.wang@mediatek.com>

Because we move dma address bits config to mtk-uart-apdma.c,
it is unnecessary to be configured in device tree.
Update the document at the same time.

Signed-off-by: huihui wang <huihui.wang@mediatek.com>
---
.../devicetree/bindings/dma/mtk-uart-apdma.txt | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt b/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
index 2117db0ce4f2..926c86b21e8c 100644
--- a/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
+++ b/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
@@ -2,8 +2,9 @@

Required properties:
- compatible should contain:
- * "mediatek,mt2712-uart-dma" for MT2712 compatible APDMA
- * "mediatek,mt6577-uart-dma" for MT6577 and all of the above
+ * "mediatek,mt2712-uart-dma" for MediaTek MT2712
+ * "mediatek,mt6577-uart-dma" for MediaTek MT6577
+ * "mediatek,mt6779-uart-dma" for MediaTek MT6779

- reg: The base address of the APDMA register bank.

@@ -16,13 +17,12 @@ Required properties:
See ../clocks/clock-bindings.txt for details.
- clock-names: The APDMA clock for register accesses

-- mediatek,dma-33bits: Present if the DMA requires support
+- mediatek,dma-33bits: Present if the DMA requires support (deprecated)

Examples:

apdma: dma-controller@11000400 {
- compatible = "mediatek,mt2712-uart-dma",
- "mediatek,mt6577-uart-dma";
+ compatible = "mediatek,mt6779-uart-dma";
reg = <0 0x11000400 0 0x80>,
<0 0x11000480 0 0x80>,
<0 0x11000500 0 0x80>,
@@ -50,6 +50,5 @@ Examples:
dma-requests = <12>;
clocks = <&pericfg CLK_PERI_AP_DMA>;
clock-names = "apdma";
- mediatek,dma-33bits;
#dma-cells = <1>;
};
--
2.18.0
\
 
 \ /
  Last update: 2020-07-17 05:07    [W:0.064 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site