linux/drivers/phy
AngeloGioacchino Del Regno 486a70ef84 phy: mediatek: phy-mtk-hdmi-mt8195: Fix TMDS clk bit ratio setting
The comment in the mtk_phy_tmds_clk_ratio() function clearly and
correctly explains that the TMDS ratio has to be 1/10 for data
rates under 3.4Gbps, and 1/40 over that.

Unfortunately though, the TXC_DIV register setting was wrong, as
in value 3 means to divide by 8 and, in order to achieve the in
spec 1/40 (tmds) data rate, this has to divide by 4 instead!

Add definitions for the TXC_DIV register values clearly explaining
the meanings (DIV2, DIV4, DIV8), and program the correct, DIV 4,
value to the register in mtk_phy_tmds_clk_ratio().

This fixes out of spec clocking and, with this change, SoCs using
the MT8195 class HDMI PHYs can now successfully be configured to
output 3840x2160@60Hz over HDMI.

Fixes: 45810d486b ("phy: mediatek: add support for phy-mtk-hdmi-mt8195")
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20260911074015.9994-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2026-09-13 16:05:23 +05:30
..
allwinner
amlogic
apple
axiado
broadcom
cadence
canaan
eswin
freescale phy updates for 7.3 2026-08-24 12:19:23 -07:00
hisilicon
ingenic
intel
lantiq
marvell
mediatek phy: mediatek: phy-mtk-hdmi-mt8195: Fix TMDS clk bit ratio setting 2026-09-13 16:05:23 +05:30
microchip
motorola
mscc
nuvoton
qualcomm phy updates for 7.3 2026-08-24 12:19:23 -07:00
ralink
realtek
renesas phy: renesas: rcar-gen3-usb2: Avoid long delay in atomic context 2026-09-13 15:52:35 +05:30
rockchip phy updates for 7.3 2026-08-24 12:19:23 -07:00
samsung
socionext
sophgo
spacemit
st
starfive
sunplus phy: sunplus: fix error handling in sp_uphy_init() 2026-08-06 21:34:42 +05:30
tegra
ti
xilinx
Kconfig
Makefile
phy-airoha-pcie-regs.h
phy-airoha-pcie.c
phy-can-transceiver.c phy: phy-can-transceiver: default silent GPIO to high during probe 2026-08-06 21:41:02 +05:30
phy-common-props-test.c
phy-common-props.c
phy-core-mipi-dphy.c
phy-core.c
phy-econet-pcie.c
phy-eyeq5-eth.c
phy-google-usb.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-nxp-ptn3222.c
phy-nxp-tja1145.c
phy-pistachio-usb.c
phy-snps-eusb2.c
phy-xgene.c