Unverified Commit 4d410ba9 authored by sheetal's avatar sheetal Committed by Mark Brown
Browse files

dt-bindings: sound: Update ADMAIF bindings for tegra264



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

Signed-off-by: default avatarsheetal <sheetal@nvidia.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250929105930.1767294-3-sheetal@nvidia.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3a866087
Loading
Loading
Loading
Loading
+66 −40
Original line number Diff line number Diff line
@@ -67,12 +67,12 @@ properties:
        $ref: audio-graph-port.yaml#
        unevaluatedProperties: false

if:
allOf:
  - if:
      properties:
        compatible:
          contains:
            const: nvidia,tegra210-admaif

    then:
      properties:
        dmas:
@@ -92,7 +92,12 @@ then:
        interconnect-names: false
        iommus: false

else:
  - if:
      properties:
        compatible:
          contains:
            const: nvidia,tegra186-admaif
    then:
      properties:
        dmas:
          description:
@@ -108,6 +113,27 @@ else:
          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

required:
  - compatible
  - reg