]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 1 Oct 2024 20:47:49 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 01:02:38 +0000 (02:02 +0100)
commit7fbf85e60cca243ba11ee3d08491921da3a0d59b
tree384831ae8897f309f408b822a3873e36731998ea
parent6d79f12c0ce2bc8ff5f109093df1734bd6450615
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>
Stable-dep-of: 8380dbf1b9ef ("ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml