2020-05-23 20:20:07

by Matthias Brugger

[permalink] [raw]
Subject: [PATCH] dt-bindings: dma: uart: mtk: fix example

From: Matthias Brugger <[email protected]>

The binding example is missing the fallback compatible.
This is needed as the driver only matches against mt6577.

Signed-off-by: Matthias Brugger <[email protected]>
---
Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt b/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
index 5d6f98c43e3d..2117db0ce4f2 100644
--- a/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
+++ b/Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt
@@ -21,7 +21,8 @@ Required properties:
Examples:

apdma: dma-controller@11000400 {
- compatible = "mediatek,mt2712-uart-dma";
+ compatible = "mediatek,mt2712-uart-dma",
+ "mediatek,mt6577-uart-dma";
reg = <0 0x11000400 0 0x80>,
<0 0x11000480 0 0x80>,
<0 0x11000500 0 0x80>,
--
2.26.2


2020-05-28 23:45:40

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: dma: uart: mtk: fix example

On Sat, 23 May 2020 22:15:30 +0200, [email protected] wrote:
> From: Matthias Brugger <[email protected]>
>
> The binding example is missing the fallback compatible.
> This is needed as the driver only matches against mt6577.
>
> Signed-off-by: Matthias Brugger <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/mtk-uart-apdma.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Applied, thanks!