[PATCH 10/10] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node

Yong Wu posted 10 patches 1 year, 8 months ago
There is a newer version of this series
[PATCH 10/10] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node
Posted by Yong Wu 1 year, 8 months ago
Prepare for the MM nodes whose dma-ranges(iova range) is 16GB.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8186.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index c326aeb33a10..ea90d2d08316 100644
--- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
@@ -265,6 +265,7 @@
 		#address-cells = <2>;
 		#size-cells = <2>;
 		compatible = "simple-bus";
+		dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>;
 		ranges;
 
 		gic: interrupt-controller@c000000 {
-- 
2.18.0
Re: [PATCH 10/10] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node
Posted by AngeloGioacchino Del Regno 1 year, 8 months ago
Il 13/01/23 07:01, Yong Wu ha scritto:
> Prepare for the MM nodes whose dma-ranges(iova range) is 16GB.
> 
> Signed-off-by: Yong Wu <yong.wu@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>