[PATCH 3/6] clk: mediatek: Reserve missing MT8167 clock ID

From: Luca Leonardo Scorcia

Date: Wed Oct 21 2026 - 05:46:47 EST


I tested this patch on the Sony PlayStation Classic Mini (MT8167) and
unfortunately it breaks HDMI output.

MediaTek HDMI PHY driver registers the hdmtx_clkdig_cts clock at runtime
[1]. When this patch is applied, the following boot error appears:

10018300.hdmi-phy: error -EEXIST: failed to register clk 'hdmtx_dig_cts'
(0xffff0000018539a0)
10018300.hdmi-phy: error -EEXIST: Failed to register PLL
10018300.hdmi-phy: probe with driver mediatek-hdmi-phy failed with error
-17

The original problem is caused by having the HDMI PHY node disabled in the
DTS, which is usually the dtsi default, but it does not happen if the
HDMI PHY is enabled. If this is merged I think this error would show
up on all the affected SoCs.

[1] https://github.com/torvalds/linux/blob/a804c5742bff224d4cb4d25dd383554d598be32b/drivers/phy/mediatek/phy-mtk-hdmi.c#L140
--
Luca