[PATCH 0/9] dma: Add BCM2711 and BCM2712 support to bcm2835-dma
Phil Elwell
phil at raspberrypi.com
Tue Nov 3 09:09:33 PST 2026
On Tue, 3 Nov 2026 at 16:49, Dave Stevenson
<dave.stevenson at raspberrypi.com> wrote:
>
> Hi Peter
>
> On Mon, 2 Nov 2026 at 09:07, Peter Robinson <pbrobinson at gmail.com> wrote:
> >
> > The upstream bcm2835-dma driver only handles the older BCM2835 SoCs
> > up to the Raspberry Pi 3. The later BCM2711/BCM2712 add extra channels
> > that support 40-bit DMA4 channels so add support so this works upstream.
> >
> > The first patch updates the bindings, them patches 2-5 do some
> > refactoring and add the support for the newer SoCs.
> >
> > Finally patches 6 and 7 add the nodes to the base device tree and
> > patches 8 and 9 enable it and configure HDMI audio to use them as
> > per the down stream device trees.
> >
> > The series was assisted considerably by Claude Opus 5.5 based on the
> > various downstream Raspberry Pi patches and tested on a number of
> > RPi5B revC/D, RPi4B and a RPi3B+ all running Fedora 45. Checkpatch
> > and dtbs_check pass clean.
>
> cc Phil Elwell as he knows far more about DMA on the Pi than I do.
Let me answer some of the questions that have arisen:
1. The downstream bcm2711 dtsi has 2 nodes for the DMA channels for 2 reasons:
i. It is an accurate reflection of the hardware, and which bus the
DMA controller's bus master interface appears on.
ii. It allows us to use the address translation provided by the
dma-ranges property - we do no explicit address munging in the
downstream driver.
2. This driver does know about each channel's capabilities - see how
is_lite_channel and is_40bit_channel are initialised independently of
the DT node where it is declared.
I hope that clears things up a bit.
Phil
More information about the linux-arm-kernel
mailing list