Skip to contentSkip to conversation

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

PATCH Applied Nicolas Saenz Julienne 2 participants 2 messages Mar 19, 2020 – Mar 22, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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")
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/bcm2835-rpi.dtsi +1 -0
index 394c8a71b13b..fd2c766e0f71 100644
@@ -15,6 +15,7 @@ soc {
 		firmware: firmware {
 			compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
 			mboxes = <&mailbox>;
+			dma-ranges;
 		};
 
 		power: power {
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Nicolas Saenz Julienne

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")

---

Applied to devicetree/fixes, thanks!
--
Florian