arm: dts: t309: enable tcon od memory support [1/1]
authorEvoke Zhang <evoke.zhang@amlogic.com>
Wed, 12 Dec 2018 04:42:22 +0000 (12:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 14 Dec 2018 07:55:56 +0000 (23:55 -0800)
PD#SWPL-3130

Problem:
t309 don't support tcon od default

Solution:
add tcon od memory support

Verify:
t309

Change-Id: I0aeaed65dfe9ca138c7f3035d5d505598e10c1d6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
arch/arm/boot/dts/amlogic/mesontl1_t309-panel.dtsi
arch/arm/boot/dts/amlogic/tl1_t962x2_t309.dts

index 53dd934..dc3b877 100644 (file)
@@ -44,6 +44,8 @@
                pinctrl-2 = <&lcd_tcon_pins>;
                pinctrl-3 = <&lcd_tcon_off_pins>;
                pinctrl_version = <2>; /* for uboot */
+               memory-region = <&lcd_tcon_reserved>;
+               tcon_mem_addr = <0x71000000>;
 
                /* power type:(0=cpu_gpio, 2=signal, 3=extern, 0xff=ending) */
                /* power index:(gpios_index, or extern_index, 0xff=invalid) */
index 9644198..9d4dea9 100644 (file)
                        alloc-ranges = <0x7f800000 0x800000>;
                };
 
+               lcd_tcon_reserved:linux,lcd_tcon {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0xc00000>;
+                       alignment = <0x400000>;
+                       alloc-ranges = <0x71000000 0xc00000>;
+               };
+
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;