encoder: add encoder for G12A

PD#156734: add encoder for G12A

Change-Id: Ib12f6af79f4264b9de5960cc65b7a3fd13e252f0
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
This commit is contained in:
Jiacheng Mei
2018-03-01 14:35:23 +08:00
committed by Jianxin Pan
parent 8887d2515d
commit a5ca07c64d
4 changed files with 71 additions and 0 deletions

View File

@@ -360,6 +360,29 @@
reg = <0x0 0xff940000 0x0 0x10000>;
};
amvenc_avc{
compatible = "amlogic, amvenc_avc";
dev_name = "amvenc_avc";
status = "okay";
interrupts = <0 45 1>;
interrupt-names = "mailbox_2";
};
hevc_enc{
compatible = "cnm, HevcEnc";
//memory-region = <&hevc_enc_reserved>;
dev_name = "HevcEnc";
status = "okay";
interrupts = <0 187 1>;
interrupt-names = "wave420l_irq";
#address-cells=<2>;
#size-cells=<2>;
ranges;
io_reg_base{
reg = <0x0 0xff610000 0x0 0x4000>;
};
};
deinterlace {
compatible = "amlogic, deinterlace";
status = "okay";

View File

@@ -681,6 +681,28 @@
dev_name = "ppmgr";
status = "okay";
};
amvenc_avc{
compatible = "amlogic, amvenc_avc";
dev_name = "amvenc_avc";
status = "okay";
interrupts = <0 45 1>;
interrupt-names = "mailbox_2";
};
hevc_enc{
compatible = "cnm, HevcEnc";
//memory-region = <&hevc_enc_reserved>;
dev_name = "HevcEnc";
status = "okay";
interrupts = <0 187 1>;
interrupt-names = "wave420l_irq";
#address-cells=<2>;
#size-cells=<2>;
ranges;
io_reg_base{
reg = <0x0 0xff610000 0x0 0x4000>;
};
};
deinterlace {
compatible = "amlogic, deinterlace";

View File

@@ -789,6 +789,29 @@
status = "okay";
};
amvenc_avc{
compatible = "amlogic, amvenc_avc";
dev_name = "amvenc_avc";
status = "okay";
interrupts = <0 45 1>;
interrupt-names = "mailbox_2";
};
hevc_enc{
compatible = "cnm, HevcEnc";
//memory-region = <&hevc_enc_reserved>;
dev_name = "HevcEnc";
status = "okay";
interrupts = <0 187 1>;
interrupt-names = "wave420l_irq";
#address-cells=<2>;
#size-cells=<2>;
ranges;
io_reg_base{
reg = <0x0 0xff610000 0x0 0x4000>;
};
};
deinterlace {
compatible = "amlogic, deinterlace";
status = "okay";

View File

@@ -55,5 +55,8 @@
/* add from GXM */
#define HHI_WAVE420L_CLK_CNTL 0x109a
/* add from g12a */
#define HHI_WAVE420L_CLK_CNTL2 0x109b
#endif