Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1582475
| From | Long Cheng <long.cheng@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/4] dt-bindings: dma: uart: add uart dma bindings |
| Date | 2017-02-16 12:10 +0100 |
| Message-ID | <tbs6K-5om-31@gated-at.bofh.it> (permalink) |
| References | <tbs6J-5om-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
add uart dma bindings
Signed-off-by: Long Cheng <long.cheng@mediatek.com>
---
.../devicetree/bindings/dma/mtk_uart_dma.txt | 32 ++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/mtk_uart_dma.txt
diff --git a/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt b/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt
new file mode 100644
index 0000000..b8aa7f4
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt
@@ -0,0 +1,32 @@
+* Mediatek UART APDMA Controller
+
+Required properties:
+- compatible should contain:
+ * "mediatek,mt2701-uart-dma" for MT2701 compatible APDMA
+ * "mediatek,mt6577-uart-dma" for MT6577 and all of the above
+
+- reg: The base address of the APDMA register bank.
+
+- interrupts: A single interrupt specifier.
+
+- clocks : Must contain an entry for each entry in clock-names.
+ See ../clocks/clock-bindings.txt for details.
+- clock-names: The APDMA clock for register accesses
+
+Examples:
+
+ apdma: dma-controller@11000380 {
+ compatible = "mediatek,mt2701-uart-dma";
+ reg = <0 0x11000380 0 0x400>;
+ interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 64 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 65 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 66 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 67 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 68 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 69 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 70 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_AP_DMA>;
+ clock-names = "apdma";
+ #dma-cells = <1>;
+ };
--
1.7.9.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] add uart DMA function Long Cheng <long.cheng@mediatek.com> - 2017-02-16 12:10 +0100
[PATCH 4/4] arm: dts: mt2701: add uart APDMA to device tree Long Cheng <long.cheng@mediatek.com> - 2017-02-16 12:10 +0100
[PATCH 1/4] dt-bindings: dma: uart: add uart dma bindings Long Cheng <long.cheng@mediatek.com> - 2017-02-16 12:10 +0100
Re: [PATCH 1/4] dt-bindings: dma: uart: add uart dma bindings Rob Herring <robh@kernel.org> - 2017-02-27 17:30 +0100
[PATCH 3/4] serial: 8250-mtk: add uart DMA support Long Cheng <long.cheng@mediatek.com> - 2017-02-16 12:10 +0100
Re: [PATCH 3/4] serial: 8250-mtk: add uart DMA support Arnd Bergmann <arnd@arndb.de> - 2017-02-16 14:30 +0100
[PATCH 2/4] dmaengine: mtk_uart_dma: add Mediatek uart DMA support Long Cheng <long.cheng@mediatek.com> - 2017-02-16 12:10 +0100
csiph-web