MLK-22974-3 ARM: dts: imx7d sdb: reserve CMA memory for Display
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 14 Nov 2019 09:32:16 +0000 (17:32 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:01 +0000 (11:21 +0800)
Reserve CMA memory for Display

[ Aisheng: Ported from 4.19 GA ]
Tested-by: Robby Cai <robby.cai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
arch/arm/boot/dts/imx7d-sdb.dts

index 7853fc9..623d1fa 100644 (file)
                reg = <0x80000000 0x80000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x14000000>;
+                       linux,cma-default;
+               };
+       };
+
        modem_reset: modem-reset {
                compatible = "gpio-reset";
                reset-gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;