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

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Jan 16 01:47:26 PST 2023


Il 13/01/23 07:01, Yong Wu ha scritto:
> After commit f1ad5338a4d5 ("of: Fix "dma-ranges" handling for bus
> controllers"), the dma-ranges property is not allowed for
> the leaf node. But our iommu/dma-ranges is 16GB, we still expect
> separate the 16GB dma-range like:
> a) display is in 0 - 4GB;
> b) vcodec is in 4GB - 8GB;
> c) camera is in 8GB - 12GB.
> We can not expect all the masters add a parent node for them,
> especial for the existed drivers/nodes.
> Thus, we add whole the 16GB dma-ranges in the parent "soc" node.
> 
> Signed-off-by: Yong Wu <yong.wu at mediatek.com>

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




More information about the Linux-mediatek mailing list