linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Sheetal ." <sheetal@nvidia.com>
To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	Marc Zyngier <maz@kernel.org>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	Liam Girdwood <lgirdwood@gmail.com>,
	"Mark Brown" <broonie@kernel.org>
Cc: Jonathan Hunter <jonathanh@nvidia.com>,
	Sameer Pujar <spujar@nvidia.com>, <dmaengine@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-sound@vger.kernel.org>, sheetal <sheetal@nvidia.com>
Subject: [PATCH 2/4] dt-bindings: sound: Update ADMAIF bindings for tegra264
Date: Thu, 18 Sep 2025 15:50:07 +0530	[thread overview]
Message-ID: <20250918102009.1519588-3-sheetal@nvidia.com> (raw)
In-Reply-To: <20250918102009.1519588-1-sheetal@nvidia.com>

From: sheetal <sheetal@nvidia.com>

Update the ADMAIF bindings as tegra264 supports 64 channels, which includes
32 RX and 32 TX channels.

Signed-off-by: sheetal <sheetal@nvidia.com>
---
 .../sound/nvidia,tegra210-admaif.yaml         | 49 +++++++++++++------
 1 file changed, 35 insertions(+), 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml
index b32f33214ba6..f53ecef379b3 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml
@@ -93,20 +93,41 @@ then:
     iommus: false
 
 else:
-  properties:
-    dmas:
-      description:
-        DMA channel specifiers, equally divided for Tx and Rx.
-      minItems: 1
-      maxItems: 40
-    dma-names:
-      items:
-        pattern: "^[rt]x(1[0-9]|[1-9]|20)$"
-      description:
-        Should be "rx1", "rx2" ... "rx20" for DMA Rx channel
-        Should be "tx1", "tx2" ... "tx20" for DMA Tx channel
-      minItems: 1
-      maxItems: 40
+  if:
+    properties:
+      compatible:
+        contains:
+          const: nvidia,tegra264-admaif
+  then:
+    properties:
+      dmas:
+        description:
+          DMA channel specifiers, equally divided for Tx and Rx.
+        minItems: 1
+        maxItems: 64
+      dma-names:
+        items:
+          pattern: "^[rt]x(3[0-2]|[1-2][0-9]|[1-9])$"
+        description:
+          Should be "rx1", "rx2" ... "rx32" for DMA Rx channel
+          Should be "tx1", "tx2" ... "tx32" for DMA Tx channel
+        minItems: 1
+        maxItems: 64
+  else:
+    properties:
+      dmas:
+        description:
+          DMA channel specifiers, equally divided for Tx and Rx.
+        minItems: 1
+        maxItems: 40
+      dma-names:
+        items:
+          pattern: "^[rt]x(1[0-9]|[1-9]|20)$"
+        description:
+          Should be "rx1", "rx2" ... "rx20" for DMA Rx channel
+          Should be "tx1", "tx2" ... "tx20" for DMA Tx channel
+        minItems: 1
+        maxItems: 40
 
 required:
   - compatible
-- 
2.34.1



  parent reply	other threads:[~2025-09-18 10:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-18 10:20 [PATCH 0/4] Add tegra264 audio device tree support Sheetal .
2025-09-18 10:20 ` [PATCH 1/4] dt-bindings: dma: Update ADMA bindings for tegra264 Sheetal .
2025-09-22 17:29   ` Rob Herring (Arm)
2025-09-18 10:20 ` Sheetal . [this message]
2025-09-22 17:31   ` [PATCH 2/4] dt-bindings: sound: Update ADMAIF " Rob Herring
2025-09-18 10:20 ` [PATCH 3/4] dt-bindings: interrupt-controller: arm,gic: Add tegra264-agic Sheetal .
2025-09-22 17:32   ` Rob Herring (Arm)
2025-09-18 10:20 ` [PATCH 4/4] arm64: tegra: Add tegra264 audio support Sheetal .

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250918102009.1519588-3-sheetal@nvidia.com \
    --to=sheetal@nvidia.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=robh@kernel.org \
    --cc=spujar@nvidia.com \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).