]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/mediatek: dsi: Add compatible for mt8167-dsi
authorLuca Leonardo Scorcia <l.scorcia@gmail.com>
Tue, 5 May 2026 21:45:00 +0000 (22:45 +0100)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 18 May 2026 13:44:33 +0000 (13:44 +0000)
The mt8167 DSI controller is fully compatible with the one found in
mt2701. Unfortunately the device tree has a dedicated compatible for
mt8167 since 2022 and it cannot be changed with a fallback nor removed at
this point. The only way to get the device to work is to add the
compatible to the driver.

Signed-off-by: Luca Leonardo Scorcia <l.scorcia@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20260505214541.333657-3-l.scorcia@gmail.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c

index 2934dc2d841cd79622f884000f9684191c6a99c2..2257966bbaa9a8d2a7a268d871abe2cc175d5d0e 100644 (file)
@@ -1312,6 +1312,7 @@ static const struct mtk_dsi_driver_data mt8188_dsi_driver_data = {
 
 static const struct of_device_id mtk_dsi_of_match[] = {
        { .compatible = "mediatek,mt2701-dsi", .data = &mt2701_dsi_driver_data },
+       { .compatible = "mediatek,mt8167-dsi", .data = &mt2701_dsi_driver_data },
        { .compatible = "mediatek,mt8173-dsi", .data = &mt8173_dsi_driver_data },
        { .compatible = "mediatek,mt8183-dsi", .data = &mt8183_dsi_driver_data },
        { .compatible = "mediatek,mt8186-dsi", .data = &mt8186_dsi_driver_data },