mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA
@ 2023-05-03  6:53 Vaishnav Achath
  2023-05-03  6:53 ` [PATCH 2/2] dmaengine: ti: k3-udma: Add support for J721S2 CSI BCDMA instance Vaishnav Achath
  2023-05-04 17:04 ` [PATCH 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Vaishnav Achath @ 2023-05-03  6:53 UTC (permalink / raw)
  To: peter.ujfalusi, vkoul, robh+dt, krzysztof.kozlowski+dt
  Cc: dmaengine, devicetree, linux-kernel, j-choudhary, u-kumar1,
	vigneshr, vaishnav.a

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@ti.com>
---
 .../devicetree/bindings/dma/ti/k3-bcdma.yaml  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
index beecfe7a1732..5ca9581a66f4 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
@@ -150,7 +151,27 @@ allOf:
 
       required:
         - power-domains
+  - 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:
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-05  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03  6:53 [PATCH 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA Vaishnav Achath
2023-05-03  6:53 ` [PATCH 2/2] dmaengine: ti: k3-udma: Add support for J721S2 CSI BCDMA instance Vaishnav Achath
2023-05-04 17:04 ` [PATCH 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA Krzysztof Kozlowski
2023-05-05  8:58   ` Vaishnav Achath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®