vpu: add viu2 vpu_clk_gate control

PD#156734: vpu: add viu2 vpu_clk_gate control

Change-Id: I5a40a71e83a673292810233b000e853bd0420fe8
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
Evoke Zhang
2018-02-24 10:55:57 +08:00
committed by Jianxin Pan
parent b9144dde67
commit 14ecb88d48
3 changed files with 6 additions and 0 deletions

View File

@@ -394,6 +394,8 @@ static struct vpu_ctrl_s vpu_clk_gate_g12a[] = {
/* vpu module, reg, bit, len */
{VPU_VPU_TOP, VPU_CLK_GATE, 1, 1}, /* vpu_system_clk */
{VPU_VPU_CLKB, VPU_CLK_GATE, 18, 1},
{VPU_CLK_B_REG_LATCH, VPU_CLK_GATE, 17, 1},
{VPU_CLK_VIB, VPU_CLK_GATE, 16, 1},
{VPU_RDMA, VPU_CLK_GATE, 15, 1}, /* rdma_clk */
{VPU_VLOCK, VPU_CLK_GATE, 14, 1},
{VPU_MISC, VPU_CLK_GATE, 6, 1}, /* hs,vs interrupt*/

View File

@@ -80,6 +80,8 @@ static char *vpu_mod_table[] = {
/* for clk_gate */
"vpu_top",
"vpu_clkb",
"clk_vib",
"clk_b_reg_latch",
"vpu_misc",
"venc_dac",
"vlock",

View File

@@ -80,6 +80,8 @@ enum vpu_mod_e {
/* for clk_gate */
VPU_VPU_TOP,
VPU_VPU_CLKB,
VPU_CLK_VIB,
VPU_CLK_B_REG_LATCH,
VPU_MISC, /* hs,vs,interrupt */
VPU_VENC_DAC,
VPU_VLOCK,