osd: optimize osd dts
authorpengcheng chen <pengcheng.chen@amlogic.com>
Thu, 19 Apr 2018 06:59:39 +0000 (14:59 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 20 Apr 2018 07:44:23 +0000 (00:44 -0700)
PD#164824: osd: optimize osd dts

Change-Id: I7cc372a4124b136bf999a73888ba6fd5671e9b5f
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
arch/arm64/boot/dts/amlogic/g12a_pxp.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts
arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
arch/arm64/boot/dts/amlogic/mesong12a_drm.dtsi

index 42e7fff..2e0cbc1 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <1>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <1>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
 
        pdm_codec:dummy{
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <1>;
+       pxp_mode = <1>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
        };
index f26cce2..86fb8a3 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <0>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index 3ce6ba5..579c798 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "disable";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <1>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &drm_vpu {
        status = "okay";
 };
        status = "okay";
 };
 
-&pwm_AO_cd {
-               status = "okay";
-};
-
 &i2c0 {
        status = "okay";
        pinctrl-names="default";
index 73355c0..c554e76 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <0>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index e42d33f..8f4c552 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               /*memory-region = <&logo_reserved>;*/
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <1>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <1>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index 8fba27b..0896a5c 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               /*memory-region = <&logo_reserved>;*/
-               dev_name = "meson-fb";
-               status = "disable";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <1>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "disable";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <1>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &drm_vpu {
        status = "okay";
 };
index 07a1053..f826cb4 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <0>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index 8fe99a1..f5eb96f 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <0>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index a693317..a7f27f6 100644 (file)
                tv_mode = <0>;/*1:enabel ;0:disable*/
        };
 
-       meson-fb {
-               compatible = "amlogic, meson-g12a";
-               memory-region = <&logo_reserved>;
-               dev_name = "meson-fb";
-               status = "okay";
-               interrupts = <0 3 1
-                       0 56 1
-                       0 89 1>;
-               interrupt-names = "viu-vsync", "viu2-vsync", "rdma";
-               mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-               /* 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*/
-               pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
-               mem_alloc = <0>;
-               logo_addr = "0x3f800000";
-               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
-               clock-names = "vpu_clkc";
-       };
-
        /* Audio Related start */
        pdm_codec:dummy{
                #sound-dai-cells = <0>;
 
 }; /* end of / */
 
+&meson_fb {
+       status = "okay";
+       display_size_default = <1920 1080 1920 2160 32>;
+       mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
+       logo_addr = "0x7f800000";
+       mem_alloc = <0>;
+       pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
+};
+
 &pwm_AO_cd {
                status = "okay";
 };
index 3365a23..8b400cd 100644 (file)
                interrupt-names = "rdma";
        };
 
+       meson_fb: meson-fb {
+               compatible = "amlogic, meson-g12a";
+               memory-region = <&logo_reserved>;
+               dev_name = "meson-fb";
+               status = "disable";
+               interrupts = <0 3 1
+                       0 56 1
+                       0 89 1>;
+               interrupt-names = "viu-vsync", "viu2-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*/
+               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
+               clock-names = "vpu_clkc";
+       };
        irblaster: meson-irblaster {
                compatible = "amlogic, meson_irblaster";
                dev_name = "meson-irblaster";
index ffe517a..6905763 100644 (file)
        drm_vpu: drm-vpu@0xff900000  {
                status = "disabled";
                compatible = "amlogic,meson-g12a-vpu";
+               memory-region = <&logo_reserved>;
                reg = <0x0 0xff900000 0x0 0x40000>,
                          <0x0 0xff63c000 0x0 0x2000>,
                          <0x0 0xff638000 0x0 0x2000>;
                reg-names = "base", "hhi", "dmc";
-               interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
+               interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>,
+                       <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>;
+               interrupt-names = "viu-vsync", "viu2-vsync";
+               clocks = <&clkc CLKID_VPU_CLKC_MUX>;
+               clock-names = "vpu_clkc";
                dma-coherent;
                vpu_out: port {
                        #address-cells = <1>;