diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2022-09-16 14:31:47 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-09-26 14:05:58 +0200 |
commit | d2f2f1d10ccdb96aeea38c5ec647679fcc093b84 (patch) | |
tree | ddccaddc3d45261b6042391980e335639a3be634 /drivers/iommu/Kconfig | |
parent | 7e18e42e4b280c85b76967a9106a13ca61c16179 (diff) |
dt-bindings: iommu: arm,smmu-v3: Relax order of interrupt names
The QEMU devicetree uses a different order for SMMUv3 interrupt names,
and there isn't a good reason for enforcing a specific order. Since all
interrupt lines are optional, operating systems should not expect a
fixed interrupt array layout; they should instead match each interrupt
to its name individually. Besides, as a result of commit e4783856a2e8
("dt-bindings: iommu: arm,smmu-v3: make PRI IRQ optional"), "cmdq-sync"
and "priq" are already permutable. Relax the interrupt-names array
entirely by allowing any permutation, incidentally making the schema
more readable.
Note that dt-validate won't allow duplicate names here so we don't need
to specify maxItems or add additional checks, it's quite neat.
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220916133145.1910549-1-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions