Skip to contentSkip to conversation

clk: mediatek: mt8167: Fix orphaned mm_hdmi_pll clock

PATCH New Luca Leonardo Scorcia 1 participant 1 message May 7

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: mediatek: mt8167: Fix orphaned mm_hdmi_pll clock

Clock hdmtx_dig_cts, parent of mm_hdmi_pll, is missing from the clock hierarchy. Add its declaration with values coming from the Android sources of Lenovo Smart Clock 2. Tested on Xiaomi Mi Smart Clock x04g.

---
 drivers/clk/mediatek/clk-mt8167.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/mediatek/clk-mt8167.c +1 -0
index c64d918c37de..df9f9dd1bfd6 100644
@@ -27,6 +27,7 @@ static const struct mtk_fixed_clk fixed_clks[] = {
 	FIXED_CLK(CLK_TOP_DSI0_LNTC_DSICK, "dsi0_lntc_dsick", "clk26m", 75000000),
 	FIXED_CLK(CLK_TOP_VPLL_DPIX, "vpll_dpix", "clk26m", 75000000),
 	FIXED_CLK(CLK_TOP_LVDSTX_CLKDIG_CTS, "lvdstx_dig_cts", "clk26m", 52500000),
+	FIXED_CLK(CLK_TOP_HDMTX_CLKDIG_CTS, "hdmtx_dig_cts", "clk26m", 75000000),
 };
 
 static const struct mtk_fixed_factor top_divs[] = {
Signature · 1 line
2.43.0