diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-03-28 17:51:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-28 19:13:04 +0300 |
commit | 82330327ce03889f20072cef5167499d51cdf260 (patch) | |
tree | 4ccdbcdbcb84a5a5b1a6470f43357e1411b9cb9f /Documentation/devicetree/bindings/sound | |
parent | 9b21531866fced634bcc7fca33667c7ef258433f (diff) | |
download | linux-82330327ce03889f20072cef5167499d51cdf260.tar.xz |
ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers
fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms
have 1 interrupt.
Increase max interrupt number to 2 and add restriction for platforms except
i.MX8QXP and i.MX8QM.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://msgid.link/r/20240328-asrc_8qxp-v8-2-801cd6bb5be2@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r-- | Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afde..204f361cea27 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,10 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + items: + - description: Combined or receive interrupt + - description: Transmit interrupt dmas: items: @@ -104,6 +107,21 @@ allOf: - if: properties: compatible: + enum: + - fsl,imx8qm-spdif + - fsl,imx8qxp-spdif + then: + properties: + interrupts: + minItems: 2 + else: + properties: + interrupts: + maxItems: 1 + + - if: + properties: + compatible: contains: enum: - fsl,imx8qm-spdif |