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 Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
amlogic Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
apple phy: apple: atc: Fix typec switch/mux leak on unbind 2026-05-14 21:17:54 +05:30
axiado phy: axiado: add Axiado eMMC PHY driver 2026-05-10 16:29:55 +05:30
broadcom phy: replace linux/gpio.h inclusions 2026-07-24 20:12:48 +02:00
cadence Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
canaan phy: usb: Add driver for Canaan K230 USB 2.0 PHY 2026-02-27 19:56:35 +05:30
eswin phy: eswin: Fix incorrect error check in probe() 2026-05-10 17:23:41 +05:30
freescale phy updates for 7.3 2026-08-24 12:19:23 -07:00
hisilicon Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
ingenic phy: ingenic: use core driver model helper to handle probe errors 2025-08-20 22:25:38 +05:30
intel Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
lantiq phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
marvell Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
mediatek phy: mediatek: phy-mtk-hdmi-mt8195: Fix TMDS clk bit ratio setting 2026-09-13 16:05:23 +05:30
microchip phy: sparx5-serdes: make it selectable for ARCH_LAN969X 2025-12-23 22:52:42 +05:30
motorola iio: inkern: Use namespaced exports 2026-07-05 01:37:19 +01:00
mscc phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
nuvoton phy: nuvoton: add new driver for the Nuvoton MA35 SoC USB 2.0 PHY 2024-08-29 23:52:37 +05:30
qualcomm phy updates for 7.3 2026-08-24 12:19:23 -07:00
ralink phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
realtek USB / Thunderbolt (USB4) changes for 6.13-rc1 2024-11-29 11:19:31 -08:00
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 phy: exynos5-usbdrd: fix USB 2.0 HS PHY tuning values for Exynos7870 2026-05-10 17:14:31 +05:30
socionext phy: socionext: usb2: Simplify with scoped for each OF child loop 2026-01-14 19:51:14 +05:30
sophgo phy: sophgo: Remove unused of_gpio.h 2025-11-12 20:35:50 +05:30
spacemit phy: spacemit: Add USB3/PCIe comb PHY driver for Spacemit K3 2026-07-20 16:39:26 +05:30
st phy: miphy28lp: kzalloc + kcalloc to single kzalloc 2026-05-10 17:46:12 +05:30
starfive phy: starfive: Fix runtime PM cleanup in JH7110 DPHY RX probe 2026-07-20 16:25:58 +05:30
sunplus phy: sunplus: fix error handling in sp_uphy_init() 2026-08-06 21:34:42 +05:30
tegra phy-for-7.2 2026-06-23 15:41:48 -07:00
ti phy: replace linux/gpio.h inclusions 2026-07-24 20:12:48 +02:00
xilinx phy: zynqmp: keep SERDES scrambler and 8b/10b enabled for USB 2026-07-22 20:52:59 +05:30
Kconfig phy: add basic support for NXPs TJA1145 CAN transceiver 2026-06-11 20:57:07 +05:30
Makefile phy: add basic support for NXPs TJA1145 CAN transceiver 2026-06-11 20:57:07 +05:30
phy-airoha-pcie-regs.h phy: airoha: use C-style SPDX comment for header file 2026-05-03 22:18:37 +05:30
phy-airoha-pcie.c phy: airoha: Fix REG_CSR_2L_JCPLL_SDM_HREN config in airoha_pcie_phy_init_ssc_jcpll() 2024-10-17 20:52:48 +05:30
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: add phy_get_rx_polarity() and phy_get_tx_polarity() 2026-01-14 18:16:05 +05:30
phy-common-props.c phy: add phy_get_rx_polarity() and phy_get_tx_polarity() 2026-01-14 18:16:05 +05:30
phy-core-mipi-dphy.c phy: dphy: add support to calculate the timing based on hs_clk_rate 2022-10-27 14:38:04 +03:00
phy-core.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy-econet-pcie.c phy: econet: Add PCIe PHY driver for EcoNet EN751221 and EN7528 SoCs. 2026-05-14 21:16:36 +05:30
phy-eyeq5-eth.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
phy-google-usb.c phy: Add Google Tensor SoC USB PHY driver 2026-01-14 19:56:36 +05:30
phy-lgm-usb.c phy: Switch back to struct platform_driver::remove() 2024-10-17 20:33:03 +05:30
phy-lpc18xx-usb-otg.c
phy-nxp-ptn3222.c phy: nxp-ptn3222: Use named initializers for struct i2c_device_id 2026-06-11 12:26:43 +05:30
phy-nxp-tja1145.c phy: add basic support for NXPs TJA1145 CAN transceiver 2026-06-11 20:57:07 +05:30
phy-pistachio-usb.c
phy-snps-eusb2.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
phy-xgene.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30