[PATCH] dt-bindings: dma-controller: Split interrupt fields in example

Rob Herring posted 1 patch 4 years, 5 months ago
Documentation/devicetree/bindings/dma/dma-controller.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] dt-bindings: dma-controller: Split interrupt fields in example
Posted by Rob Herring 4 years, 5 months ago
Best practice for multi-cell property values is to bracket each multi-cell
value.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/dma/dma-controller.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/dma-controller.yaml b/Documentation/devicetree/bindings/dma/dma-controller.yaml
index 0043b91da95e..6d3727267fa8 100644
--- a/Documentation/devicetree/bindings/dma/dma-controller.yaml
+++ b/Documentation/devicetree/bindings/dma/dma-controller.yaml
@@ -24,10 +24,10 @@ examples:
     dma: dma-controller@48000000 {
         compatible = "ti,omap-sdma";
         reg = <0x48000000 0x1000>;
-        interrupts = <0 12 0x4
-                      0 13 0x4
-                      0 14 0x4
-                      0 15 0x4>;
+        interrupts = <0 12 0x4>,
+                     <0 13 0x4>,
+                     <0 14 0x4>,
+                     <0 15 0x4>;
         #dma-cells = <1>;
         dma-channels = <32>;
         dma-requests = <127>;
-- 
2.32.0

Re: [PATCH] dt-bindings: dma-controller: Split interrupt fields in example
Posted by Vinod Koul 4 years, 5 months ago
On 06-01-22, 12:25, Rob Herring wrote:
> Best practice for multi-cell property values is to bracket each multi-cell
> value.

Applied, thanks

-- 
~Vinod