2021-08-21 08:54:34 +00:00
|
|
|
From 54643c62b6a848bfcfd86ac4eebbea28c0f1902e Mon Sep 17 00:00:00 2001
|
|
|
|
From: Dom Cobley <popcornmix@gmail.com>
|
|
|
|
Date: Wed, 28 Apr 2021 16:10:02 +0200
|
|
|
|
Subject: [PATCH] ARM: dts: bcm2711: Tune DMA parameters for HDMI audio
|
|
|
|
|
|
|
|
Enable NO_WAIT_RESP, DMA_WIDE_SOURCE, DMA_WIDE_DEST, and bump the DMA
|
|
|
|
panic and AXI priorities to avoid any DMA transfer error with HBR audio
|
|
|
|
(8 channel, 192Hz).
|
|
|
|
|
|
|
|
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
|
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/bcm2711.dtsi | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm2711.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/bcm2711.dtsi
|
2022-03-16 20:06:23 +00:00
|
|
|
@@ -360,7 +360,7 @@
|
2021-08-21 08:54:34 +00:00
|
|
|
interrupt-names = "cec-tx", "cec-rx", "cec-low",
|
|
|
|
"wakeup", "hpd-connected", "hpd-removed";
|
|
|
|
ddc = <&ddc0>;
|
|
|
|
- dmas = <&dma 10>;
|
|
|
|
+ dmas = <&dma (10 | (1 << 27) | (1 << 24)| (15 << 20) | (10 << 16))>;
|
|
|
|
dma-names = "audio-rx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2022-03-16 20:06:23 +00:00
|
|
|
@@ -407,7 +407,7 @@
|
2021-08-21 08:54:34 +00:00
|
|
|
<9>, <10>, <11>;
|
|
|
|
interrupt-names = "cec-tx", "cec-rx", "cec-low",
|
|
|
|
"wakeup", "hpd-connected", "hpd-removed";
|
|
|
|
- dmas = <&dma 17>;
|
|
|
|
+ dmas = <&dma (17 | (1 << 27) | (1 << 24)| (15 << 20) | (10 << 16))>;
|
|
|
|
dma-names = "audio-rx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|