Devicetree
 help / color / mirror / Atom feed
From: Stefan Wahren <wahrenst@gmx.net>
To: cleverline1mc@gmail.com, Mark Brown <broonie@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Ray Jui <ray.jui@broadcom.com>,
	Scott Branden <scott.branden@broadcom.com>,
	Kanak Shilledar <kanakshilledar111@protonmail.com>,
	Florian Fanelli <f.fainelli@gmail.com>
Cc: "Conor Dooley" <conor.dooley@microchip.com>,
	linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	"Miroslav Ondra" <ondra@faster.cz>,
	"Matouš Hýbl" <hyblmatous@gmail.com>
Subject: Re: [PATCH 3/4] ARM: dts: broadcom: bcm2711: Add DMA to i2s
Date: Sun, 29 Nov 2026 21:19:36 +0100	[thread overview]
Message-ID: <36bc39b2-9f71-4772-8999-e7aef506ab57@gmx.net> (raw)
In-Reply-To: <20261127-bcm2835-spi-dma-v1-3-8b134991ba2e@gmail.com>

Am 27.11.26 um 16:21 schrieb Kryštof Černý via B4 Relay:
> From: Kryštof Černý <cleverline1mc@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@gmail.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>

Thanks
> ---
>   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>;
>   };
>


  reply	other threads:[~2026-11-29 20:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 15:21 [PATCH 0/4] spi: dt-bindings: bcm2835-spi, ARM: dts: bcm2711: Add DMA to spi0, i2s and sdhost Kryštof Černý via B4 Relay
2026-11-27 15:21 ` [PATCH 1/4] spi: dt-bindings: brcm,bcm2835-spi: Add dmas and dma-names Kryštof Černý via B4 Relay
2026-11-29 19:18   ` Stefan Wahren
2026-11-27 15:21 ` [PATCH 2/4] ARM: dts: broadcom: bcm2711: Add DMA to spi0 Kryštof Černý via B4 Relay
2026-11-29 19:43   ` Stefan Wahren
2026-11-27 15:21 ` [PATCH 3/4] ARM: dts: broadcom: bcm2711: Add DMA to i2s Kryštof Černý via B4 Relay
2026-11-29 20:19   ` Stefan Wahren [this message]
2026-11-27 15:21 ` [PATCH 4/4] ARM: dts: broadcom: bcm2711: Add DMA to sdhost Kryštof Černý via B4 Relay
2026-11-29 20:04   ` Stefan Wahren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36bc39b2-9f71-4772-8999-e7aef506ab57@gmx.net \
    --to=wahrenst@gmx.net \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=broonie@kernel.org \
    --cc=cleverline1mc@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=conor.dooley@microchip.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=florian.fainelli@broadcom.com \
    --cc=hyblmatous@gmail.com \
    --cc=kanakshilledar111@protonmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=ondra@faster.cz \
    --cc=ray.jui@broadcom.com \
    --cc=robh@kernel.org \
    --cc=scott.branden@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox