]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/mediatek: mtk_dsi: enable hs clock during pre-enable
authorGary Bisson <bisson.gary@gmail.com>
Tue, 20 Jan 2026 11:36:59 +0000 (12:36 +0100)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 22 Mar 2026 12:43:30 +0000 (12:43 +0000)
commit76255024cadbe8c40462953f8193d2d78cd3b0ac
treee37ad03c47a08f4dc8dd33ab33454779ef4cfa26
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
drm/mediatek: mtk_dsi: enable hs clock during pre-enable

Some bridges, such as the TI SN65DSI83, require the HS clock to be
running in order to lock its PLL during its own pre-enable function.

Without this change, the bridge gives the following error:
sn65dsi83 14-002c: failed to lock PLL, ret=-110
sn65dsi83 14-002c: Unexpected link status 0x01
sn65dsi83 14-002c: reset the pipe

Move the necessary functions from enable to pre-enable.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org> # Chromebooks
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20260120-mtkdsi-v1-1-b0f4094f3ac3@gmail.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c