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
parent fdcae78480
commit 455f583dc8
6 changed files with 26 additions and 2 deletions

View File

@@ -70,6 +70,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;
@@ -751,6 +760,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1
@@ -764,7 +774,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

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

View File

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

View File

@@ -70,6 +70,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;
@@ -751,6 +760,7 @@
meson-fb {
compatible = "amlogic, meson-gxm";
memory-region = <&logo_reserved>;
dev_name = "meson-fb";
status = "okay";
interrupts = <0 3 1
@@ -764,7 +774,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

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

View File

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