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>
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) */
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;