Re: [PATCH v2 1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan

From
Vinod <vkoul@kernel.org>
Date
2018-07-09 10:34:53
Also in
dmaengine, linux-arm-kernel, lkml
Reply to
Guodong Xu, 2018-07-06
On 06-07-18, 11:55, Guodong Xu wrote:
quoted hunk ↗ jump to hunk
From: Li Yu <redacted>

Add optional property hisilicon,dma-min-chan for k3dma.

Signed-off-by: Li Yu <redacted>
Signed-off-by: Guodong Xu <redacted>
---
 Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt
index 4945aeac4dc4..f34202a80f3c 100644
--- a/Documentation/devicetree/bindings/dma/k3dma.txt
+++ b/Documentation/devicetree/bindings/dma/k3dma.txt
@@ -12,6 +12,11 @@ Required properties:
 		have specific request line
 - clocks: clock required
 
+Optional properties:
+- hisilicon,dma-min-chan: the minimum DMA channel number which is usable
+		Default value is 0, but in some platform it is
+		configured 1, like in hi3660 platform
+
 Example:
 
 Controller:
@@ -21,6 +26,7 @@ Controller:
 			#dma-cells = <1>;
 			dma-channels = <16>;
 			dma-requests = <27>;
+			hisilicon,dma-min-chan = <1>;
Am still expecting this to be a mask

-- 
~Vinod
Thread (7 messages) 7 messages, 3 authors, last reply 2018-07-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help