[PATCH v4 27/28] ARM: dts: broadcom: Set the DMA flags of the HDMI audio channel on BCM283x
Andrea della Porta
andrea.porta at suse.com
Fri Nov 27 04:22:17 PST 2026
The upper bits of the DMA specifier of the BCM2835 DMA controller carry
per-channel flags, which nothing uses in the upstream device trees so
far.
Request wide (128-bit) source reads and skip waiting for the AXI write
responses on the HDMI audio channel of BCM283x, as done for years by the
downstream Raspberry Pi device trees. This reduces the bus traffic
needed to feed the MAI FIFO.
BCM2711 is left alone: the downstream device trees route its HDMI audio
through the 40-bit channels, so there is no established set of flags for
its legacy channels.
Signed-off-by: Andrea della Porta <andrea.porta at suse.com>
---
arch/arm/boot/dts/broadcom/bcm2835-common.dtsi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/broadcom/bcm2835-common.dtsi b/arch/arm/boot/dts/broadcom/bcm2835-common.dtsi
index 39eea8ce1058..77c7c13014d2 100644
--- a/arch/arm/boot/dts/broadcom/bcm2835-common.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2835-common.dtsi
@@ -4,6 +4,8 @@
* bcm2835, bcm2836 and bcm2837 implementations.
*/
+#include <dt-bindings/dma/brcm,bcm2835-dma.h>
+
/ {
interrupt-parent = <&intc>;
@@ -130,7 +132,8 @@ hdmi: hdmi at 7e902000 {
clocks = <&clocks BCM2835_PLLH_PIX>,
<&clocks BCM2835_CLOCK_HSM>;
clock-names = "pixel", "hdmi";
- dmas = <&dma 17>;
+ dmas = <&dma (17 | BCM2835_DMA_FLAG_NO_WAIT_RESP |
+ BCM2835_DMA_FLAG_WIDE_SOURCE)>;
dma-names = "audio-rx";
status = "disabled";
};
--
2.51.0
More information about the linux-arm-kernel
mailing list