dts:txl:sync fb config with txlx
authorLei Qian <lei.qian@amlogic.com>
Sat, 4 Aug 2018 06:53:40 +0000 (14:53 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 7 Aug 2018 02:49:37 +0000 (19:49 -0700)
PD#171168:dts:txl:sync fb config with txlx

Change-Id: I17f2521c5c571258c249ed042dc2978ebb21a5f9
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
arch/arm64/boot/dts/amlogic/mesontxl.dtsi
arch/arm64/boot/dts/amlogic/txl_t950_p341.dts
arch/arm64/boot/dts/amlogic/txl_t960_p346.dts
arch/arm64/boot/dts/amlogic/txl_t962_p320.dts
arch/arm64/boot/dts/amlogic/txl_t962_p321.dts

index e040bd6382b3ce2e72a786106ef4b24a1b52a7ff..dba40c96293487e894e54a0c07dc838dc7612f55 100644 (file)
                interrupt-names = "rdma";
        };
 
-       meson_fb: fb {
-               compatible = "amlogic, meson-txl";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "disable";
-               interrupts = <0 3 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "rdma";
-               /* uboot logo,fb0/fb1 memory size,if afbcd fb0=0x01851000*/
-               display_mode_default = "1080p60hz";
-               scale_mode = <1>;
-               /** 0:VPU free scale 1:OSD free scale 2:OSD super scale */
-               display_size_default = <1920 1080 1920 2160 32>;
-               /*1920*1080*4*3 = 0x17BB000*/
-       };
-
        audio_data: audio_data {
                compatible = "amlogic, audio_data";
                query_licence_cmd = <0x82000050>;
index 1cedbe67e0d696ef2b790db3c58a0dd13d7b3cf7..fa1a46423d5e62368c3b8594ed9005e8a420dc05 100644 (file)
@@ -81,7 +81,8 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x2000000>;
+                       // if no direct render, ion size = fb0_size x 3 + fb1_size + 4 M
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
                set_fault_tolerance = <1>;
        };
 
+       meson-fb {
+               compatible = "amlogic, meson-txl";
+               memory-region = <&logo_reserved>;
+               dev_name = "meson-fb";
+               status = "okay";
+               interrupts = <0 3 1
+                       0 89 1>;
+               interrupt-names = "viu-vsync", "rdma";
+               mem_size = <0x00800000 0x01800000 0x00100000>;
+               /* uboot logo,fb0/fb1 memory size,if afbcd fb0=0x01851000*/
+               display_mode_default = "1080p60hz";
+               /* 0:VPU free scale 1:OSD free scale 2:OSD super scale */
+               scale_mode = <1>;
+               /* 1920*1080*4*3 = 0x17BB000 */
+               display_size_default = <1920 1080 1920 3240 32>;
+               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+               logo_addr = "0x3f800000";
+       };
+
        picdec {
                compatible = "amlogic, picdec";
                status = "okay";
        status = "okay";
 };
 
-&meson_fb {
-       status = "okay";
-       display_size_default = <1920 1080 1920 2160 32>;
-       mem_size = <0x00800000 0x1980000 0x100000>;
-       logo_addr = "0x3f800000";
-       mem_alloc = <0>;
-       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-};
index c70c0bee0e130cd0849051ca814807035991bde4..e94fa04ad4d0eea74e40efff60f648456091a32f 100644 (file)
@@ -81,7 +81,8 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x2000000>;
+                       // if no direct render, ion size = fb0_size x 3 + fb1_size + 4 M
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
                set_fault_tolerance = <1>;
        };
 
+       meson-fb {
+               compatible = "amlogic, meson-txl";
+               memory-region = <&logo_reserved>;
+               dev_name = "meson-fb";
+               status = "okay";
+               interrupts = <0 3 1
+                       0 89 1>;
+               interrupt-names = "viu-vsync", "rdma";
+               mem_size = <0x00800000 0x01800000 0x00100000>;
+               /* uboot logo,fb0/fb1 memory size,if afbcd fb0=0x01851000*/
+               display_mode_default = "1080p60hz";
+               /* 0:VPU free scale 1:OSD free scale 2:OSD super scale */
+               scale_mode = <1>;
+               /* 1920*1080*4*3 = 0x17BB000 */
+               display_size_default = <1920 1080 1920 3240 32>;
+               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+               logo_addr = "0x3f800000";
+       };
+
        picdec {
                compatible = "amlogic, picdec";
                status = "okay";
        status = "okay";
 };
 
-&meson_fb {
-       status = "okay";
-       display_size_default = <1920 1080 1920 2160 32>;
-       mem_size = <0x00800000 0x1980000 0x100000>;
-       logo_addr = "0x3f800000";
-       mem_alloc = <0>;
-       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-};
index 012940007262cca9da9dbc455ba3a740c9efafa3..3f17de1cf558a3e0b2c0c9420ee0f17787134f2a 100644 (file)
@@ -81,7 +81,8 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x8000000>;
+                       // if no direct render, ion size = fb0_size x 3 + fb1_size + 4 M
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
                set_fault_tolerance = <1>;
        };
 
+       meson-fb {
+               compatible = "amlogic, meson-txl";
+               memory-region = <&logo_reserved>;
+               dev_name = "meson-fb";
+               status = "okay";
+               interrupts = <0 3 1
+                       0 89 1>;
+               interrupt-names = "viu-vsync", "rdma";
+               mem_size = <0x00800000 0x01800000 0x00100000>;
+               /* uboot logo,fb0/fb1 memory size,if afbcd fb0=0x01851000*/
+               display_mode_default = "1080p60hz";
+               /* 0:VPU free scale 1:OSD free scale 2:OSD super scale */
+               scale_mode = <1>;
+               /* 1920*1080*4*3 = 0x17BB000 */
+               display_size_default = <1920 1080 1920 3240 32>;
+               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+               logo_addr = "0x3f800000";
+       };
+
        picdec {
                compatible = "amlogic, picdec";
                status = "okay";
        status = "okay";
 };
 
-&meson_fb {
-       status = "okay";
-       display_size_default = <1920 1080 1920 2160 32>;
-       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-       logo_addr = "0x3f800000";
-       mem_alloc = <0>;
-       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-};
index 952748236950ddba20f7b7a0fb269ddb3ccd8804..c4db667ca903c63dd430e791162364a4146061ef 100644 (file)
@@ -81,7 +81,8 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x2000000>;
+                       // if no direct render, ion size = fb0_size x 3 + fb1_size + 4 M
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
                set_fault_tolerance = <1>;
        };
 
+       meson-fb {
+               compatible = "amlogic, meson-txl";
+               memory-region = <&logo_reserved>;
+               dev_name = "meson-fb";
+               status = "okay";
+               interrupts = <0 3 1
+                       0 89 1>;
+               interrupt-names = "viu-vsync", "rdma";
+               mem_size = <0x00800000 0x01800000 0x00100000>;
+               /* uboot logo,fb0/fb1 memory size,if afbcd fb0=0x01851000*/
+               display_mode_default = "1080p60hz";
+               /* 0:VPU free scale 1:OSD free scale 2:OSD super scale */
+               scale_mode = <1>;
+               /* 1920*1080*4*3 = 0x17BB000 */
+               display_size_default = <1920 1080 1920 3240 32>;
+               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+               logo_addr = "0x3f800000";
+       };
+
        picdec {
                compatible = "amlogic, picdec";
                status = "okay";
        status = "okay";
 };
 
-&meson_fb {
-       status = "okay";
-       display_size_default = <1920 1080 1920 2160 32>;
-       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-       logo_addr = "0x3f800000";
-       mem_alloc = <0>;
-       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-};
-
 &spicc {
        status = "disabled";
        pinctrl-names = "default";