drm/rockchip: dw-hdmi: Support rk3368 hdmi

Change-Id: Iaef5abee75b6e754c4884009ee4dc799277b6253
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
Algea Cao 2019-07-18 09:55:18 +08:00 committed by Jianhong Chen
parent fec5505a80
commit 84a1bd9cfb
1 changed files with 16 additions and 0 deletions

View File

@ -789,6 +789,14 @@ const struct dw_hdmi_plat_data rk3228_hdmi_drv_data = {
.dev_type = RK3228_HDMI,
};
const struct dw_hdmi_plat_data rk3368_hdmi_drv_data = {
.mpll_cfg = rockchip_mpll_cfg,
.cur_ctr = rockchip_cur_ctr,
.phy_config = rockchip_phy_config,
.mpll_cfg_420 = rockchip_mpll_cfg_420,
.dev_type = RK3368_HDMI,
};
const struct dw_hdmi_plat_data rk3399_hdmi_drv_data = {
.vop_sel_bit = 6,
.grf_vop_sel_reg = RK3399_GRF_SOC_CON20,
@ -809,6 +817,11 @@ static const struct rockchip_connector rk3399_dw_hdmi_data = {
.data = &rk3399_hdmi_drv_data,
};
static const struct rockchip_connector rk3368_dw_hdmi_data = {
.funcs = &rockchip_dw_hdmi_funcs,
.data = &rk3368_hdmi_drv_data,
};
static const struct rockchip_connector rk3288_dw_hdmi_data = {
.funcs = &rockchip_dw_hdmi_funcs,
.data = &rk3288_hdmi_drv_data,
@ -828,6 +841,9 @@ static const struct udevice_id rockchip_dw_hdmi_ids[] = {
{
.compatible = "rockchip,rk3399-dw-hdmi",
.data = (ulong)&rk3399_dw_hdmi_data,
}, {
.compatible = "rockchip,rk3368-dw-hdmi",
.data = (ulong)&rk3368_dw_hdmi_data,
}, {
.compatible = "rockchip,rk3288-dw-hdmi",
.data = (ulong)&rk3288_dw_hdmi_data,