diff options
author | yt.shen@mediatek.com <yt.shen@mediatek.com> | 2017-03-31 19:30:39 +0800 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2017-04-08 00:02:17 +0800 |
commit | 84a5ead18e57e9018d3de0a5388be8f6c2686329 (patch) | |
tree | 1ae1119a7d4994f7c7abccc73fabc4861b3f50e4 /drivers/gpu/drm/mediatek/mtk_mipi_tx.c | |
parent | 0707632b5bacc490f58dfbad741d586c06595ff3 (diff) | |
download | linux-next-84a5ead18e57e9018d3de0a5388be8f6c2686329.tar.gz |
drm/mediatek: add support for Mediatek SoC MT2701
This patch add support for the Mediatek MT2701 DISP subsystem.
There is only one OVL engine in MT2701.
Signed-off-by: YT Shen <yt.shen@mediatek.com>
Acked-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_mipi_tx.c')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c b/drivers/gpu/drm/mediatek/mtk_mipi_tx.c index fd84914fc0d8..90e913108950 100644 --- a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c +++ b/drivers/gpu/drm/mediatek/mtk_mipi_tx.c @@ -465,11 +465,17 @@ static int mtk_mipi_tx_remove(struct platform_device *pdev) return 0; } +static const struct mtk_mipitx_data mt2701_mipitx_data = { + .mppll_preserve = (3 << 8) +}; + static const struct mtk_mipitx_data mt8173_mipitx_data = { .mppll_preserve = (0 << 8) }; static const struct of_device_id mtk_mipi_tx_match[] = { + { .compatible = "mediatek,mt2701-mipi-tx", + .data = &mt2701_mipitx_data }, { .compatible = "mediatek,mt8173-mipi-tx", .data = &mt8173_mipitx_data }, {}, |