mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
drm/rockchip: vop: rv1126: add bt1120 and grf register define
Change-Id: I46c2215b02835484d035cd6aa53ebc41f951e3ed Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -1735,6 +1735,8 @@ static const struct vop_ctrl rv1126_ctrl_data = {
|
||||
.mcu_type = VOP_REG(RK3366_LIT_MCU_CTRL, 0x1, 31),
|
||||
.mcu_rw_bypass_port = VOP_REG(RK3366_LIT_MCU_RW_BYPASS_PORT,
|
||||
0xffffffff, 0),
|
||||
.bt1120_yc_swap = VOP_REG(RK3366_LIT_DSP_CTRL0, 0x1, 30),
|
||||
.bt1120_en = VOP_REG(RK3366_LIT_DSP_CTRL0, 0x1, 31),
|
||||
};
|
||||
|
||||
static const struct vop_win_data rv1126_vop_win_data[] = {
|
||||
@@ -1747,12 +1749,17 @@ static const struct vop_win_data rv1126_vop_win_data[] = {
|
||||
.area_size = ARRAY_SIZE(rk3368_area_data), },
|
||||
};
|
||||
|
||||
static const struct vop_grf_ctrl rv1126_grf_ctrl = {
|
||||
.grf_dclk_inv = VOP_REG(RV1126_GRF_IOFUNC_CON3, 0x1, 2),
|
||||
};
|
||||
|
||||
static const struct vop_data rv1126_vop = {
|
||||
.version = VOP_VERSION(2, 7),
|
||||
.max_input = {1920, 1920},
|
||||
.max_output = {1920, 1080},
|
||||
.ctrl = &rv1126_ctrl_data,
|
||||
.intr = &rk3366_lit_intr,
|
||||
.grf_ctrl = &rv1126_grf_ctrl,
|
||||
.win = rv1126_vop_win_data,
|
||||
.win_size = ARRAY_SIZE(rv1126_vop_win_data),
|
||||
};
|
||||
|
||||
@@ -1043,4 +1043,6 @@
|
||||
#define PX30_GRF_PD_VO_CON1 0x00438
|
||||
/* px30 register definition end */
|
||||
|
||||
#define RV1126_GRF_IOFUNC_CON3 0x1026c
|
||||
|
||||
#endif /* _ROCKCHIP_VOP_REG_H */
|
||||
|
||||
Reference in New Issue
Block a user