mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties
[ Upstream commit 8380dbf1b9ef66e3ce6c1d660fd7259637c2a929 ]
Combinations of "tx" alone, "rx" alone and "tx", "rx" together are
supposedly valid (see link below), which is not the case today as "rx"
alone is not accepted by the current binding.
Let's rework the two interrupt properties to expose all correct
possibilities.
Cc: Péter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/linux-sound/20241003102552.2c11840e@xps-13/T/#m277fce1d49c50d94e071f7890aed472fa2c64052
Fixes: 8be90641a0
("ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241003083611.461894-1-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5e3583b4c0
commit
f10cba3f76
1 changed files with 9 additions and 9 deletions
|
@ -102,21 +102,21 @@ properties:
|
||||||
default: 2
|
default: 2
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
oneOf:
|
minItems: 1
|
||||||
- minItems: 1
|
maxItems: 2
|
||||||
items:
|
|
||||||
- description: TX interrupt
|
|
||||||
- description: RX interrupt
|
|
||||||
- items:
|
|
||||||
- description: common/combined interrupt
|
|
||||||
|
|
||||||
interrupt-names:
|
interrupt-names:
|
||||||
oneOf:
|
oneOf:
|
||||||
- minItems: 1
|
- description: TX interrupt
|
||||||
|
const: tx
|
||||||
|
- description: RX interrupt
|
||||||
|
const: rx
|
||||||
|
- description: TX and RX interrupts
|
||||||
items:
|
items:
|
||||||
- const: tx
|
- const: tx
|
||||||
- const: rx
|
- const: rx
|
||||||
- const: common
|
- description: Common/combined interrupt
|
||||||
|
const: common
|
||||||
|
|
||||||
fck_parent:
|
fck_parent:
|
||||||
$ref: /schemas/types.yaml#/definitions/string
|
$ref: /schemas/types.yaml#/definitions/string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue