rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399
This commit adds a driver for the RK3399 VOPs capable and all the necessary plumbing to feed the HDMI encoder. For the VOP-big, this correctly tracks the ability to feed 10bit RGB data to the encoder. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
d46d40474a
commit
cc75afc5d7
@@ -201,6 +201,16 @@ enum vop_modes {
|
||||
#define V_DSP_OUT_MODE(x) ((x) & 0xf)
|
||||
|
||||
/* VOP_DSP_CTRL1 */
|
||||
#define V_RK3399_DSP_MIPI_POL(x) ((x) << 28)
|
||||
#define V_RK3399_DSP_EDP_POL(x) ((x) << 24)
|
||||
#define V_RK3399_DSP_HDMI_POL(x) ((x) << 20)
|
||||
#define V_RK3399_DSP_LVDS_POL(x) ((x) << 16)
|
||||
|
||||
#define M_RK3399_DSP_MIPI_POL (V_RK3399_DSP_MIPI_POL(0xf))
|
||||
#define M_RK3399_DSP_EDP_POL (V_RK3399_DSP_EDP_POL(0xf))
|
||||
#define M_RK3399_DSP_HDMI_POL (V_RK3399_DSP_HDMI_POL(0xf))
|
||||
#define M_RK3399_DSP_LVDS_POL (V_RK3399_DSP_LVDS_POL(0xf))
|
||||
|
||||
#define M_DSP_LAYER3_SEL (3 << 14)
|
||||
#define M_DSP_LAYER2_SEL (3 << 12)
|
||||
#define M_DSP_LAYER1_SEL (3 << 10)
|
||||
|
||||
Reference in New Issue
Block a user