[PATCH 3/4] ARM: dts: broadcom: bcm2711: Add DMA to i2s
Kryštof Černý via B4 Relay
devnull+cleverline1mc.gmail.com at kernel.org
Fri Nov 27 07:21:08 PST 2026
From: Kryštof Černý <cleverline1mc at gmail.com>
On BCM2835/6/7, i2s gets its DMA channels from bcm2835-common.dtsi.
Commit 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
added the BCM2711 DMA controller but gave i2s no channels, although the
binding requires them. The driver has no PIO fallback, so on BCM2711
i2s fails to create its PCM and no sound card using it can register:
bcm2835-i2s fe203000.i2s: Missing dma channel for stream: 0
Add the same dmas as on BCM2835/6/7; the BCM2711 legacy DMA engine uses
the same DREQ numbers.
Tested on a Raspberry Pi 4 B with simple-audio-card and a dummy S/PDIF
codec: 48 kHz/S16 and 192 kHz/S32 stereo play without xruns.
Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
Signed-off-by: Kryštof Černý <cleverline1mc at gmail.com>
---
arch/arm/boot/dts/broadcom/bcm2711.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
index 8ebf52b20c66..0680a0b1ca67 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
@@ -1140,6 +1140,11 @@ &i2c1 {
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
};
+&i2s {
+ dmas = <&dma 2>, <&dma 3>;
+ dma-names = "tx", "rx";
+};
+
&mailbox {
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
};
--
2.47.3
More information about the linux-arm-kernel
mailing list