Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: fsl,xcvr: Adjust the number of interrupts

On i.MX8MP, there are 3 interrupts, the third interrupt is
SPDIF wakeup interrupt from PHY

Add ref: dai-common.yaml for #sound-dai-cells is needed and
XCVR is a DAI device.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/1719481981-4069-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shengjiu Wang and committed by
Mark Brown
28892123 1a705797

+8 -3
+8 -3
Documentation/devicetree/bindings/sound/fsl,xcvr.yaml
··· 42 42 items: 43 43 - description: WAKEUPMIX Audio XCVR Interrupt 1 44 44 - description: WAKEUPMIX Audio XCVR Interrupt 2 45 + - description: SPDIF wakeup interrupt from PHY 45 46 minItems: 1 46 47 47 48 clocks: ··· 89 88 - dma-names 90 89 91 90 allOf: 91 + - $ref: dai-common.yaml# 92 92 - if: 93 93 properties: 94 94 compatible: ··· 114 112 else: 115 113 properties: 116 114 interrupts: 117 - maxItems: 1 115 + minItems: 3 116 + maxItems: 3 118 117 119 118 - if: 120 119 properties: ··· 131 128 clock-names: 132 129 maxItems: 4 133 130 134 - additionalProperties: false 131 + unevaluatedProperties: false 135 132 136 133 examples: 137 134 - | ··· 146 143 <0x30cc0c00 0x080>, 147 144 <0x30cc0e00 0x080>; 148 145 reg-names = "ram", "regs", "rxfifo", "txfifo"; 149 - interrupts = <0x0 128 IRQ_TYPE_LEVEL_HIGH>; 146 + interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, 147 + <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, 148 + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 150 149 clocks = <&audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_IPG>, 151 150 <&audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_PHY>, 152 151 <&audiomix_clk IMX8MP_CLK_AUDIOMIX_SPBA2_ROOT>,