Skip to content

Commit 511cf7d

Browse files
superna9999Chun-Kuang Hu
authored andcommitted
drm/mediatek: hdmi: Add MT8167 configuration
The MT8167 SoC have a hard limit on the maximal supported HDMI TMDS clock, and is not validated and supported for HDMI modes out of HDMI CEA modes, so add a configuration entry linked to the MT8167 compatible. Signed-off-by: Fabien Parent <fparent@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
1 parent c91026a commit 511cf7d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/gpu/drm/mediatek/mtk_hdmi.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,10 +1787,18 @@ static const struct mtk_hdmi_conf mtk_hdmi_conf_mt2701 = {
17871787
.tz_disabled = true,
17881788
};
17891789

1790+
static const struct mtk_hdmi_conf mtk_hdmi_conf_mt8167 = {
1791+
.max_mode_clock = 148500,
1792+
.cea_modes_only = true,
1793+
};
1794+
17901795
static const struct of_device_id mtk_drm_hdmi_of_ids[] = {
17911796
{ .compatible = "mediatek,mt2701-hdmi",
17921797
.data = &mtk_hdmi_conf_mt2701,
17931798
},
1799+
{ .compatible = "mediatek,mt8167-hdmi",
1800+
.data = &mtk_hdmi_conf_mt8167,
1801+
},
17941802
{ .compatible = "mediatek,mt8173-hdmi",
17951803
},
17961804
{}

0 commit comments

Comments
 (0)