From 62becc31c6781d973e2fafcc7d755100cce14d16 Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Thu, 14 Nov 2019 17:27:55 +0800 Subject: [PATCH] MLK-22974-2 ARM: dts: imx6sl/sll-evk: reserve CMA memory for Display Reserve CMA memory for Display [ Aisheng: Ported from 4.19 GA ] Tested-by: Robby Cai Acked-by: Jason Liu Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx6sl-evk.dts | 13 +++++++++++++ arch/arm/boot/dts/imx6sll-evk.dts | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index a004daffa55a..0de66c2ccdcc 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -34,6 +34,19 @@ reg = <0x80000000 0x40000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x14000000>; + linux,cma-default; + }; + }; + backlight_display: backlight_display { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000>; diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts index 0f0fd48d27e0..60a1d6f208c6 100644 --- a/arch/arm/boot/dts/imx6sll-evk.dts +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -24,6 +24,19 @@ reg = <0x80000000 0x80000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x14000000>; + linux,cma-default; + }; + }; + backlight_display: backlight-display { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000>; -- 2.17.1