deinterlace: bring-up g12b/sm1 [1/1]

PD#SWPL-111910

Problem:
bring-up

Solution:
g12b bring-up 5.15 DI dts

Verify:
g12b/sm1

Change-Id: I40b3d5a8c4c4d44471b62589d3b43dffe260aba2
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
This commit is contained in:
yufei.huan
2023-03-08 13:55:15 +08:00
committed by yao zhang1
parent 69cacc04bf
commit 57d7a73f00
2 changed files with 60 additions and 13 deletions
@@ -111,7 +111,7 @@
* 10x4736064=45.2M(0x2e) support 12bit
* 10x4074560=40M(0x28) support 10bit
*/
size = <0x0 0x02800000>;
//size = <0x0 0x02800000>;
alignment = <0x0 0x400000>;
};
/* POST PROCESS MANAGER */
@@ -286,16 +286,40 @@
compatible = "amlogic, deinterlace";
status = "disable"
/* 0:use reserved; 1:use cma; 2:use cma as reserved */
flag_cma = <1>;
flag_cma = <4>; //<1>;
//memory-region = <&di_reserved>;
memory-region = <&di_cma_reserved>;
interrupts = <0 46 1
0 40 1>;
interrupt-names = "pre_irq", "post_irq";
//clocks = <&clkc CLKID_VPU_CLKB_TMP_COMP>,
// <&clkc CLKID_VPU_CLKB_COMP>;
//clock-names = "vpu_clkb_tmp_composite",
// "vpu_clkb_composite";
clocks = <&clkc CLKID_VPU_CLKB_TMP>,
<&clkc CLKID_VPU_CLKB>;
clock-names = "vpu_clkb",
"vpu_mux";
clock-range = <334 667>;
/* buffer-size = <3621952>;(yuv422 8bit) */
buffer-size = <4074560>;/*yuv422 fullpack*/
/* reserve-iomap = "true"; */
/* if enable nr10bit, set nr10bit-support to 1 */
post-wr-support = <1>;
nr10bit-support = <1>;
nrds-enable = <1>;
pps-enable = <1>;
};
multi-di {
compatible = "amlogic, amlogic, dim-g12b";
status = "okay";
/* 0:use reserved; 1:use cma; 2:use cma as reserved */
flag_cma = <4>; //<1>;
//memory-region = <&di_reserved>;
memory-region = <&di_cma_reserved>;
interrupts = <0 46 1
0 40 1>;
interrupt-names = "pre_irq", "aisr_irq";
clocks = <&clkc CLKID_VPU_CLKB_TMP>,
<&clkc CLKID_VPU_CLKB>;
clock-names = "vpu_clkb",
"vpu_mux";
clock-range = <334 667>;
/* buffer-size = <3621952>;(yuv422 8bit) */
buffer-size = <4074560>;/*yuv422 fullpack*/
@@ -306,7 +330,6 @@
nrds-enable = <1>;
pps-enable = <1>;
};
ionvideo {
compatible = "amlogic, ionvideo";
dev_name = "ionvideo";
@@ -123,7 +123,7 @@
* 10x4736064=45.2M(0x2e) support 12bit
* 10x4074560=40M(0x28) support 10bit
*/
size = <0x0 0x02800000>;
//size = <0x0 0x02800000>;
alignment = <0x0 0x400000>;
};
/* POST PROCESS MANAGER */
@@ -295,16 +295,40 @@
compatible = "amlogic, deinterlace";
status = "disable"
/* 0:use reserved; 1:use cma; 2:use cma as reserved */
flag_cma = <1>;
flag_cma = <4>; //<1>;
//memory-region = <&di_reserved>;
memory-region = <&di_cma_reserved>;
interrupts = <0 46 1
0 40 1>;
interrupt-names = "pre_irq", "post_irq";
//clocks = <&clkc CLKID_VPU_CLKB_TMP_COMP>,
// <&clkc CLKID_VPU_CLKB_COMP>;
//clock-names = "vpu_clkb_tmp_composite",
// "vpu_clkb_composite";
//clocks = <&clkc CLKID_VPU_CLKB_TMP>,
// <&clkc CLKID_VPU_CLKB>;
//clock-names = "vpu_clkb",
// "vpu_mux";
clock-range = <334 667>;
/* buffer-size = <3621952>;(yuv422 8bit) */
buffer-size = <4074560>;/*yuv422 fullpack*/
/* reserve-iomap = "true"; */
/* if enable nr10bit, set nr10bit-support to 1 */
post-wr-support = <1>;
nr10bit-support = <1>;
nrds-enable = <1>;
pps-enable = <1>;
};
multi-di {
compatible = "amlogic, amlogic, dim-sm1";
status = "okay";
/* 0:use reserved; 1:use cma; 2:use cma as reserved */
flag_cma = <4>; //<1>;
//memory-region = <&di_reserved>;
memory-region = <&di_cma_reserved>;
interrupts = <0 46 1
0 40 1>;
interrupt-names = "pre_irq", "aisr_irq";
clocks = <&clkc CLKID_VPU_CLKB_TMP>,
<&clkc CLKID_VPU_CLKB>;
clock-names = "vpu_clkb",
"vpu_mux";
clock-range = <334 667>;
/* buffer-size = <3621952>;(yuv422 8bit) */
buffer-size = <4074560>;/*yuv422 fullpack*/