From: Alexander Stein Date: Tue, 27 Aug 2024 14:24:58 +0000 (+0200) Subject: ARM: dts: imx6qdl-mba6: Add reserved memory area for CMA memory X-Git-Tag: v6.13-rc1~140^2~27^2~38 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e7b981e3281fb4eb16387ebc5c303389586acf92;p=linux.git ARM: dts: imx6qdl-mba6: Add reserved memory area for CMA memory Default CMA size is too small for HDMI output and VPU usage. Increase the default size by providing a CMA memory area. Signed-off-by: Alexander Stein Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi index 60aa1e947f62..8cefda70db63 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi @@ -106,6 +106,20 @@ vin-supply = <®_mba6_3p3v>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x14000000>; + alloc-ranges = <0x10000000 0x20000000>; + linux,cma-default; + }; + }; + sound { compatible = "fsl,imx-audio-tlv320aic32x4"; pinctrl-names = "default";