[PATCH v6 07/11] drm/mediatek: mtk_dsi: Add support for MT8189

CK Hu (胡俊光) ck.hu at mediatek.com
Wed Aug 26 18:52:27 PDT 2026


On Wed, 2026-07-15 at 15:56 +0200, AngeloGioacchino Del Regno wrote:
> Add support for the DSI IP found in the MT8189 SoC: this one is
> similar to the IPs found in the most recent already supported SoCs
> with the only difference being that it supports a higher link rate
> of 2.5Gbps instead of 1.5Gbps.
> 
> To support the higher rate, add a new "max_link_rate_mbps" member
> to the mtk_dsi_driver_data, assign the correct one to all of the
> supported SoCs, other than to the newly introduced MT8189, and
> use it in the .mode_valid() callback in place of the hardcoded
> 1.5Gbps value.
> 
> Since .mode_valid() is supposed to run just for resolution changes
> the link rate was expressed in Mbps and gets multiplied on the fly
> to save some bits.
> 
> As a note, starting with MT8189, higher maximum pixel clock rates
> are achievable: while at it, also make sure that calculations are
> not overflowing by casting to u64 where needed.

I would like to separate this patch into two patches.
One is to add max_link_rate_mbps to support different max link rate.
Another one is to support mt8189 dsi.

Regards,
CK

> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> ---



More information about the Linux-mediatek mailing list