Re: [PATCH v3 5/6] drm/mediatek: dsi: Add compatible for mt8167-dsi
From: CK Hu (胡俊光) <hidden>
Date: 2026-03-03 07:57:06
Also in:
dri-devel, linux-devicetree, linux-mediatek, linux-phy, lkml
On Wed, 2026-02-25 at 09:15 +0100, Luca Leonardo Scorcia wrote:
External email : Please do not click links or open attachments until you have verified the sender or the content.quoted
quoted
The mt8167 DSI controller is fully compatible with the one found in mt2701. Device tree documentation is already present upstream.If mt8167 DSI is fully compatible with mt2701 DSI, I think the binding document and device tree should be modified. In device tree, compatible = "mediatek,mt8167-dsi", "mediatek,mt2701-dsi"; And this patch is not necessary.Hi, if I understand your review correctly that's what v2 [1] of this patch did, but the change was rejected during review. As far as I can see there is no win-win solution here. This tricky situation derives from the fact that in last year's submissions the change was only partially merged - the bindings went upstream while the driver did not, and now we have to work around this. In v3 I tried to address the issue by actually implementing what the binding document says. I'll be happy to resubmit v4 but I need to know what's the consensus here.
You mean Krzysztof's comment? He has two comment. The first is 'remove'. You actually not remove "mediatek,mt8167-dsi". You change it. The second is about fallback. I'm also not sure why he says it's NAK. Also a bad wording? After Angelo's comment, Krzysztof does not response. I also do not know what Krzysztof think. I agree with Angelo. Single "mediatek,mt8167-dsi" does not reflect the hardware compatible but fallback does. Maybe describe more information (hardware) to Krzysztof, and ask what's the better way to do. Regards, CK
Thanks! [1] https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/patch/ff920a7cc94f2b0c03d4bb55142030fded30d07c.1771258407.git.l.scorcia@gmail.com/__;!!CTRNKA9wMg0ARbw!lIBnCRkybM1oxoARb70JlLMPlXHKqW9dwSmVqXGsvj3LE9hsWuINkPgtrlr8Jl8-atOvzYoMjtavHOr3$quoted
quoted
Signed-off-by: Luca Leonardo Scorcia <redacted> --- drivers/gpu/drm/mediatek/mtk_dsi.c | 1 + 1 file changed, 1 insertion(+)diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index af4871de9e4c..ad10e86b161d 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c@@ -1301,6 +1301,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 }, --2.43.0-- Luca Leonardo Scorcia l.scorcia@gmail.com