1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-02 04:46:16 +02:00
openwrt/target/linux/bcm27xx/patches-5.10/950-0431-dt-Enable-DMA_WIDE...
Álvaro Fernández Rojas 8299d1f057 bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.

bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:07 +02:00

44 lines
1.1 KiB
Diff

From 4e79497bed02399934bdc8beaa980cb4b7bdf19f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 11 Jan 2021 13:06:23 +0000
Subject: [PATCH] dt: Enable DMA_WIDE_SOURCE and DMA_WIDE_DEST for hdmi
audio
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
arch/arm/boot/dts/bcm2711-rpi.dtsi | 4 ++--
arch/arm/boot/dts/bcm2835-common.dtsi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
@@ -179,7 +179,7 @@
};
&hdmi0 {
- dmas = <&dma (10|(1<<27))>;
+ dmas = <&dma (10|(1<<27)|(1<<24))>;
status = "disabled";
};
@@ -188,7 +188,7 @@
};
&hdmi1 {
- dmas = <&dma (17|(1<<27))>;
+ dmas = <&dma (17|(1<<27)|(1<<24))>;
status = "disabled";
};
--- a/arch/arm/boot/dts/bcm2835-common.dtsi
+++ b/arch/arm/boot/dts/bcm2835-common.dtsi
@@ -123,7 +123,7 @@
clocks = <&clocks BCM2835_PLLH_PIX>,
<&clocks BCM2835_CLOCK_HSM>;
clock-names = "pixel", "hdmi";
- dmas = <&dma (17|(1<<27))>;
+ dmas = <&dma (17|(1<<27)|(1<<24))>;
dma-names = "audio-rx";
status = "disabled";
};