dts: mbox add video11 and video12 for screencontrol [1/2]
authorhuijie.huang <huijie.huang@amlogic.com>
Thu, 29 Aug 2019 11:08:31 +0000 (19:08 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 3 Sep 2019 02:46:12 +0000 (19:46 -0700)
PD#SWPL-13022

Problem:
mbox needs to support screencontrol

Solution:
add video11 and video12 node

Verify:
SM1-AC202

Change-Id: I1197fceb6cdc2d220318bbd87281b55dff98a665
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
31 files changed:
arch/arm/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u202.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u202_1g.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u212.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts
arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts
arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts
arch/arm/boot/dts/amlogic/mesong12a.dtsi
arch/arm/boot/dts/amlogic/mesong12b.dtsi
arch/arm/boot/dts/amlogic/mesong12b_a.dtsi
arch/arm/boot/dts/amlogic/mesonsm1.dtsi
arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts
arch/arm/boot/dts/amlogic/sm1_s905d3_ac202.dts
arch/arm/boot/dts/amlogic/sm1_s905d3_ac202_1g.dts
arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u202.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u202_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u212.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
arch/arm64/boot/dts/amlogic/mesong12b.dtsi
arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi
arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts
arch/arm64/boot/dts/amlogic/sm1_s905d3_ac202.dts
arch/arm64/boot/dts/amlogic/sm1_s905d3_ac202_1g.dts
arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts

index 27784b9..7726656 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index decad3d..4949ac1 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index be1ddde..6ad4580 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 57f5978..3cefada 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 37530fb..2bc08aa 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
index 8036f65..4107a6f 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
index 6e66c96..7c7ed36 100644 (file)
                status = "okay";
        };
 
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        gpio_keypad {
                compatible = "amlogic, gpio_keypad";
                status = "okay";
index 2d76528..cf61f5f 100644 (file)
                status = "okay";
        };
 
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        gpio_keypad {
                compatible = "amlogic, gpio_keypad";
                status = "okay";
index 47b5d2f..90d46b0 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index f98a97f..bfe4966 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index 76dd3cd..bf083e8 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index 16ba4a2..3670fb1 100644 (file)
                compatible = "amlogic, ge2d-sm1";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index 4a82f62..65b9c7b 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 08c47b7..87612e7 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 51824c0..3a1d62a 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index db56d24..ab3752a 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
index 07639e6..b42c4cb 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 21f3dd8..4fc9d9d 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index b78d4b0..dc7d6d5 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 4a2ad2b..a3e5d7c 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 44c6714..12fc478 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        /*dvb {
         *      compatible = "amlogic, dvb";
         *      dev_name = "dvb";
index f607a00..58426c0 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        /*dvb {
         *      compatible = "amlogic, dvb";
         *      dev_name = "dvb";
index d25bea8..d1e936c 100644 (file)
                status = "okay";
        };
 
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        gpio_keypad {
                compatible = "amlogic, gpio_keypad";
                status = "okay";
index 0751d3d..a5e16bf 100644 (file)
                status = "okay";
        };
 
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        gpio_keypad {
                compatible = "amlogic, gpio_keypad";
                status = "okay";
index 0bf23d3..f0a87c7 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index 78cfb28..e213c2f 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index e9276e2..dec863b 100644 (file)
                compatible = "amlogic, ge2d-g12a";
                dev_name = "ge2d";
                status = "okay";
-               interrupts = <0 146 1>;
+               interrupts = <0 150 1>;
                interrupt-names = "ge2d";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_G2D>,
index eac0870..8e5251a 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 23386a6..593c201 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index 03ab4d2..250033c 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
index e18fb73..fdb83a7 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;