kernel: bump 5.10 to 5.10.106
[openwrt/staging/dedeckeh.git] / target / linux / bcm27xx / patches-5.10 / 950-0638-ARM-dts-bcm2711-Tune-DMA-parameters-for-HDMI-audio.patch
1 From 54643c62b6a848bfcfd86ac4eebbea28c0f1902e Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <popcornmix@gmail.com>
3 Date: Wed, 28 Apr 2021 16:10:02 +0200
4 Subject: [PATCH] ARM: dts: bcm2711: Tune DMA parameters for HDMI audio
5
6 Enable NO_WAIT_RESP, DMA_WIDE_SOURCE, DMA_WIDE_DEST, and bump the DMA
7 panic and AXI priorities to avoid any DMA transfer error with HBR audio
8 (8 channel, 192Hz).
9
10 Signed-off-by: Dom Cobley <popcornmix@gmail.com>
11 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
12 ---
13 arch/arm/boot/dts/bcm2711.dtsi | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 --- a/arch/arm/boot/dts/bcm2711.dtsi
17 +++ b/arch/arm/boot/dts/bcm2711.dtsi
18 @@ -360,7 +360,7 @@
19 interrupt-names = "cec-tx", "cec-rx", "cec-low",
20 "wakeup", "hpd-connected", "hpd-removed";
21 ddc = <&ddc0>;
22 - dmas = <&dma 10>;
23 + dmas = <&dma (10 | (1 << 27) | (1 << 24)| (15 << 20) | (10 << 16))>;
24 dma-names = "audio-rx";
25 status = "disabled";
26 };
27 @@ -407,7 +407,7 @@
28 <9>, <10>, <11>;
29 interrupt-names = "cec-tx", "cec-rx", "cec-low",
30 "wakeup", "hpd-connected", "hpd-removed";
31 - dmas = <&dma 17>;
32 + dmas = <&dma (17 | (1 << 27) | (1 << 24)| (15 << 20) | (10 << 16))>;
33 dma-names = "audio-rx";
34 status = "disabled";
35 };