summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2024-10-01 22:47:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-01 01:56:05 +0100
commita116e7c334b7469a7da4a3b73950e24552013536 (patch)
tree9f7ad7520c5ad2eb58342b72bb9be4c3fc4c2535 /Documentation/devicetree
parent7a5c653ede645693422e43cccaa3e8f905d21c74 (diff)
downloadlinux-a116e7c334b7469a7da4a3b73950e24552013536.tar.gz
linux-a116e7c334b7469a7da4a3b73950e24552013536.tar.bz2
linux-a116e7c334b7469a7da4a3b73950e24552013536.zip
ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
[ Upstream commit 17d8adc4cd5181c13c1041b197b76efc09eaf8a8 ] My understanding of the interrupts property is that it can either be: 1/ - TX 2/ - TX - RX 3/ - Common/combined. There are very little chances that either: - TX - Common/combined or even - TX - RX - Common/combined could be a thing. Looking at the interrupt-names definition (which uses oneOf instead of anyOf), it makes indeed little sense to use anyOf in the interrupts definition. I believe this is just a mistake, hence let's fix it. Fixes: 8be90641a0bb ("ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20241001204749.390054-1-miquel.raynal@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml
index f46c66bc6b2d..b181f7481a95 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml
@@ -102,7 +102,7 @@ properties:
default: 2
interrupts:
- anyOf:
+ oneOf:
- minItems: 1
items:
- description: TX interrupt