dts: add memory-region for gxm logo [1/1]

PD#SWPL-5522

Problem:
S912 display S912 Android P support for osd

Solution:
add memory-region for gxm logo

Verify:
verified on gxm-q201

Change-Id: If4efec47f939a944530ef1dc0f7a3b8abf245a47
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
This commit is contained in:
Jian Cao
2019-07-03 21:35:24 +08:00
committed by Chris KIM
parent 2968648333
commit c0e2d6cff0
6 changed files with 26 additions and 2 deletions

View File

@@ -71,6 +71,15 @@
reg = <0x05300000 0x2000000>;
no-map;
};
logo_reserved:linux,meson-fb {
compatible = "shared-dma-pool";
reusable;
size = <0x800000>;
alignment = <0x400000>;
alloc-ranges = <0x7f800000 0x800000>;
};
ion_reserved:linux,ion-dev {
compatible = "shared-dma-pool";
reusable;
@@ -752,6 +761,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1
@@ -765,7 +775,7 @@
display_size_default = <1920 1080 1920 3240 32>;
/*1920*1080*4*3 = 0x17BB000*/
mem_alloc = <1>;
logo_addr = "0x7dc00000";
logo_addr = "0x7f800000";
};
ge2d {
compatible = "amlogic, ge2d-gxm";

View File

@@ -760,6 +760,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1

View File

@@ -763,6 +763,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1

View File

@@ -71,6 +71,15 @@
reg = <0x0 0x05300000 0x0 0x2000000>;
no-map;
};
logo_reserved:linux,meson-fb {
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x800000>;
alignment = <0x0 0x400000>;
alloc-ranges = <0x0 0x7f800000 0x0 0x800000>;
};
ion_reserved:linux,ion-dev {
compatible = "shared-dma-pool";
reusable;
@@ -752,6 +761,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1
@@ -765,7 +775,7 @@
display_size_default = <1920 1080 1920 3240 32>;
/*1920*1080*4*3 = 0x17BB000*/
mem_alloc = <1>;
logo_addr = "0x7dc00000";
logo_addr = "0x7f800000";
};
ge2d {
compatible = "amlogic, ge2d-gxm";

View File

@@ -760,6 +760,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1

View File

@@ -763,6 +763,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1