From: Huihui Wang <huihui.wang@mediatek.com>
To: Sean Wang <sean.wang@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
Rob Herring <robh+dt@kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<devicetree@vger.kernel.org>, <wsd_upstream@mediatek.com>,
huihui wang <huihui.wang@mediatek.com>
Subject: [PATCH v1 1/2] dt-bindings: dma: mediatek: mark useless items as decrepted
Date: Fri, 17 Jul 2020 11:02:03 +0800 [thread overview]
Message-ID: <20200717030203.14872-2-huihui.wang@mediatek.com> (raw)
In-Reply-To: <20200717030203.14872-1-huihui.wang@mediatek.com>
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
next prev parent reply other threads:[~2020-07-17 3:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 3:02 [PATCH v1]dma: mediatek: dma address bits config with compatible data Huihui Wang
2020-07-17 3:02 ` Huihui Wang [this message]
2020-07-23 20:53 ` [PATCH v1 1/2] dt-bindings: dma: mediatek: mark useless items as decrepted Rob Herring
2020-07-23 20:53 ` Rob Herring
2020-07-17 3:02 ` [PATCH v1 2/2] dma: mediatek: dma address bits config with compatible data Huihui Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200717030203.14872-2-huihui.wang@mediatek.com \
--to=huihui.wang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=robh+dt@kernel.org \
--cc=sean.wang@mediatek.com \
--cc=vkoul@kernel.org \
--cc=wsd_upstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.