Skip to content

Commit 38eaef2

Browse files
mtk-rex-bc-chenChun-Kuang Hu
authored andcommitted
drm/mediatek: dpi: Add config for mt8192
Add dpi config setting and compatible for MT8192. Signed-off-by: Rex-BC Chen <[email protected]> Signed-off-by: Jitao Shi <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent 44b0712 commit 38eaef2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/gpu/drm/mediatek/mtk_dpi.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,12 @@ static const struct mtk_dpi_conf mt8183_conf = {
699699
.max_clock_khz = 100000,
700700
};
701701

702+
static const struct mtk_dpi_conf mt8192_conf = {
703+
.cal_factor = mt8183_calculate_factor,
704+
.reg_h_fre_con = 0xe0,
705+
.max_clock_khz = 150000,
706+
};
707+
702708
static int mtk_dpi_probe(struct platform_device *pdev)
703709
{
704710
struct device *dev = &pdev->dev;
@@ -817,6 +823,9 @@ static const struct of_device_id mtk_dpi_of_ids[] = {
817823
{ .compatible = "mediatek,mt8183-dpi",
818824
.data = &mt8183_conf,
819825
},
826+
{ .compatible = "mediatek,mt8192-dpi",
827+
.data = &mt8192_conf,
828+
},
820829
{ },
821830
};
822831

0 commit comments

Comments
 (0)