@@ -43,6 +43,12 @@ static const struct mtk_gate_regs vdo1_4_cg_regs = {
43
43
.sta_ofs = 0x140 ,
44
44
};
45
45
46
+ static const struct mtk_gate_regs vdo1_5_cg_regs = {
47
+ .set_ofs = 0x400 ,
48
+ .clr_ofs = 0x400 ,
49
+ .sta_ofs = 0x400 ,
50
+ };
51
+
46
52
#define GATE_VDO1_0 (_id , _name , _parent , _shift ) \
47
53
GATE_MTK(_id, _name, _parent, &vdo1_0_cg_regs, _shift, &mtk_clk_gate_ops_setclr)
48
54
@@ -62,6 +68,9 @@ static const struct mtk_gate_regs vdo1_4_cg_regs = {
62
68
#define GATE_VDO1_4 (_id , _name , _parent , _shift ) \
63
69
GATE_MTK(_id, _name, _parent, &vdo1_4_cg_regs, _shift, &mtk_clk_gate_ops_setclr)
64
70
71
+ #define GATE_VDO1_5 (_id , _name , _parent , _shift ) \
72
+ GATE_MTK(_id, _name, _parent, &vdo1_5_cg_regs, _shift, &mtk_clk_gate_ops_setclr)
73
+
65
74
static const struct mtk_gate vdo1_clks [] = {
66
75
/* VDO1_0 */
67
76
GATE_VDO1_0 (CLK_VDO1_SMI_LARB2 , "vdo1_smi_larb2" , "top_vpp" , 0 ),
@@ -129,6 +138,8 @@ static const struct mtk_gate vdo1_clks[] = {
129
138
GATE_VDO1_3 (CLK_VDO1_DISP_MONITOR_DPINTF , "vdo1_disp_monitor_dpintf_ck" , "top_vpp" , 17 ),
130
139
/* VDO1_4 */
131
140
GATE_VDO1_4 (CLK_VDO1_26M_SLOW , "vdo1_26m_slow_ck" , "clk26m" , 8 ),
141
+ /* VDO1_5 */
142
+ GATE_VDO1_5 (CLK_VDO1_DPI1_HDMI , "vdo1_dpi1_hdmi" , "hdmi_txpll" , 0 ),
132
143
};
133
144
134
145
static const struct mtk_clk_desc vdo1_desc = {
0 commit comments