Skip to content

Commit 4614fd6

Browse files
Vishwaroop Abroonie
authored andcommitted
spi: dt-bindings: tegra: Document IOMMU property for Tegra234 QSPI
Add the 'iommus' property to the Tegra QSPI device tree binding. The property is needed for Tegra234 when using the internal DMA controller, and is not supported on other Tegra chips, as DMA is handled by an external controller. Signed-off-by: Vishwaroop A <va@nvidia.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20250513200043.608292-1-va@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 017f1b0 commit 4614fd6

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ maintainers:
1010
- Thierry Reding <thierry.reding@gmail.com>
1111
- Jonathan Hunter <jonathanh@nvidia.com>
1212

13-
allOf:
14-
- $ref: spi-controller.yaml#
15-
1613
properties:
1714
compatible:
1815
enum:
@@ -47,6 +44,9 @@ properties:
4744
- const: rx
4845
- const: tx
4946

47+
iommus:
48+
maxItems: 1
49+
5050
patternProperties:
5151
"@[0-9a-f]+$":
5252
type: object
@@ -69,6 +69,18 @@ required:
6969

7070
unevaluatedProperties: false
7171

72+
allOf:
73+
- $ref: spi-controller.yaml#
74+
- if:
75+
properties:
76+
compatible:
77+
not:
78+
contains:
79+
const: nvidia,tegra234-qspi
80+
then:
81+
properties:
82+
iommus: false
83+
7284
examples:
7385
- |
7486
#include <dt-bindings/clock/tegra210-car.h>

0 commit comments

Comments
 (0)