summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-12-06 12:30:47 +0100
committerMark Brown <broonie@kernel.org>2023-12-06 16:57:21 +0100
commita6b5f50fefe93676af8798ecc1f633581d1702f8 (patch)
tree134b01f3122ec0f837ce39090c92b7781beffff3 /Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
parentASoC: SOF: topology cleanups (diff)
downloadlinux-a6b5f50fefe93676af8798ecc1f633581d1702f8.tar.xz
linux-a6b5f50fefe93676af8798ecc1f633581d1702f8.zip
ASoC: dt-bindings: fsl,xcvr: Adjust the number of interrupts
Unlike i.MX8MP, i.MX93 has two XCVR interrupts. Describe the two interrupts for the i.MX93 to fix the following dt-schema warning: imx93-11x11-evk.dtb: xcvr@42680000: interrupts: [[0, 203, 4], [0, 204, 4]] is too long from schema $id: http://devicetree.org/schemas/sound/fsl,xcvr.yaml# Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20231206113047.2240055-1-festevam@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/sound/fsl,xcvr.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
index 799b362ba498..0eb0c1ba8710 100644
--- a/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
@@ -38,7 +38,10 @@ properties:
- const: txfifo
interrupts:
- maxItems: 1
+ items:
+ - description: WAKEUPMIX Audio XCVR Interrupt 1
+ - description: WAKEUPMIX Audio XCVR Interrupt 2
+ minItems: 1
clocks:
items:
@@ -78,6 +81,23 @@ required:
- dma-names
- resets
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - fsl,imx93-xcvr
+ then:
+ properties:
+ interrupts:
+ minItems: 2
+ maxItems: 2
+ else:
+ properties:
+ interrupts:
+ maxItems: 1
+
additionalProperties: false
examples: