diff mbox series

ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations

Message ID 20200319190013.21377-1-nsaenzjulienne@suse.de (mailing list archive)
State Mainlined
Commit 55c7c0621078bd73e9d4d2a11eb36e61bc6fe998
Headers show
Series ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations | expand

Commit Message

Nicolas Saenz Julienne March 19, 2020, 7 p.m. UTC
The bus is virtual and devices have to inherit their DMA constraints
from the underlying interconnect. So add an empty dma-ranges property to
the bus node, implying the firmware bus' DMA constraints are identical to
its parent's.

Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Florian Fainelli March 22, 2020, 9:45 p.m. UTC | #1
On Thu, 19 Mar 2020 20:00:13 +0100, Nicolas Saenz Julienne <nsaenzjulienne@suse.de> wrote:
> The bus is virtual and devices have to inherit their DMA constraints
> from the underlying interconnect. So add an empty dma-ranges property to
> the bus node, implying the firmware bus' DMA constraints are identical to
> its parent's.
> 
> Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
> ---

Applied to devicetree/fixes, thanks!
--
Florian
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index 394c8a71b13b..fd2c766e0f71 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -15,6 +15,7 @@  soc {
 		firmware: firmware {
 			compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
 			mboxes = <&mailbox>;
+			dma-ranges;
 		};
 
 		power: power {