[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 May 2023 13:56:01 +0530
From: Vaishnav Achath <vaishnav.a@...com>
To: <krzysztof.kozlowski+dt@...aro.org>, <peter.ujfalusi@...il.com>,
<robh+dt@...nel.org>, <vkoul@...nel.org>
CC: <devicetree@...r.kernel.org>, <dmaengine@...r.kernel.org>,
<j-choudhary@...com>, <linux-kernel@...r.kernel.org>,
<u-kumar1@...com>, <vigneshr@...com>, <vaishnav.a@...com>
Subject: [PATCH v2 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA
Add bindings for J721S2 BCDMA instance dedicated for Camera
Serial Interface. Unlike AM62A CSI BCDMA, this instance has RX
and TX channels but lacks block copy channels.
Signed-off-by: Vaishnav Achath <vaishnav.a@...com>
---
V1->V2:
* Move J721S2 BCDMA entry to else condition to avoid failure
with AM62A BCDMA.
.../devicetree/bindings/dma/ti/k3-bcdma.yaml | 54 +++++++++++++------
1 file changed, 39 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
index beecfe7a1732..54d4b8e0c8ce 100644
--- a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
+++ b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
@@ -33,6 +33,7 @@ properties:
enum:
- ti,am62a-dmss-bcdma-csirx
- ti,am64-dmss-bcdma
+ - ti,j721s2-dmss-bcdma-csi
reg:
minItems: 3
@@ -152,21 +153,44 @@ allOf:
- power-domains
else:
- properties:
- reg:
- minItems: 5
-
- reg-names:
- items:
- - const: gcfg
- - const: bchanrt
- - const: rchanrt
- - const: tchanrt
- - const: ringrt
-
- required:
- - ti,sci-rm-range-bchan
- - ti,sci-rm-range-tchan
+ if:
+ properties:
+ compatible:
+ contains:
+ const: ti,j721s2-dmss-bcdma-csi
+ then:
+ properties:
+ ti,sci-rm-range-bchan: false
+
+ reg:
+ maxItems: 4
+
+ reg-names:
+ items:
+ - const: gcfg
+ - const: rchanrt
+ - const: tchanrt
+ - const: ringrt
+
+ required:
+ - ti,sci-rm-range-tchan
+
+ else:
+ properties:
+ reg:
+ minItems: 5
+
+ reg-names:
+ items:
+ - const: gcfg
+ - const: bchanrt
+ - const: rchanrt
+ - const: tchanrt
+ - const: ringrt
+
+ required:
+ - ti,sci-rm-range-bchan
+ - ti,sci-rm-range-tchan
unevaluatedProperties: false
--
2.17.1
Powered by blists - more mailing lists