Skip to content

Commit 919f6cd

Browse files
sheetalthierryreding
authored andcommitted
dt-bindings: dma: Update ADMA bindings for tegra264
- Update ADMA device tree bindings for tegra264 to support up to 64 interrupt channels by setting 'interrupts' property maxItems to 64. - Also, update the 'allOf' conditional schema to ensure correct maxItems for 'interrupts' based on compatible string, including tegra210 (22) and tegra186 (32) ADMA controllers. Signed-off-by: sheetal <sheetal@nvidia.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 8a59954 commit 919f6cd

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ properties:
4646
Should contain all of the per-channel DMA interrupts in
4747
ascending order with respect to the DMA channel index.
4848
minItems: 1
49-
maxItems: 32
49+
maxItems: 64
5050

5151
clocks:
5252
description: Must contain one entry for the ADMA module clock
@@ -86,6 +86,19 @@ allOf:
8686
reg:
8787
items:
8888
- description: Full address space range of DMA registers.
89+
interrupts:
90+
maxItems: 22
91+
92+
- if:
93+
properties:
94+
compatible:
95+
contains:
96+
enum:
97+
- nvidia,tegra186-adma
98+
then:
99+
properties:
100+
interrupts:
101+
maxItems: 32
89102

90103
- if:
91104
properties:

0 commit comments

Comments
 (0)