linux/drivers/phy/rockchip
Alex Bee d1ea4239a1 phy/rockchip: inno-hdmi: add more supported pre-pll rates
This adds a bunch of new pixel clock- and tmds rates to the pre-pll
table which are required to get more VESA and some DMT rates working.

It has been completely re-calculated to match the min- and max-vco of
(750 MHz - 3.2 GHz) requirements. If more than one configuration would
have been possible the lowest fbdiv and refdiv (and therefore lowest
vco rate) has been preferred.

It's important to note, that RK3228 version of the phy does not support
fractional dividers. To support the most possible rates for this version
also in both 8-bit and 10-bit variant, some rates are not exact. The
maximum deviation of the pixel clock is 0.26, which perfectly fits into
VESA DMT recommendation of 0.5%.

I tested all possible rates on several screens from different
manufacturers with both RK3228 and RK3328. Both pre- and post-PLL
locking are slighlty faster now.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20230615171005.2251032-7-jonas@kwiboo.se
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-07-12 22:27:43 +05:30
..
Kconfig phy: rockchip: Support PCIe v3 2022-09-04 20:35:48 +05:30
Makefile phy: rockchip: Support PCIe v3 2022-09-04 20:35:48 +05:30
phy-rockchip-dp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
phy-rockchip-dphy-rx0.c phy/rockchip: Use of_device_get_match_data() 2022-04-13 15:23:23 +05:30
phy-rockchip-emmc.c phy: rockchip: emmc, add vendor prefix to dts properties 2021-01-13 17:28:24 +05:30
phy-rockchip-inno-csidphy.c phy: rockchip: phy-rockchip-inno-csidphy: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
phy-rockchip-inno-dsidphy.c phy: rockchip: remove unused hw_to_inno function 2023-04-12 21:47:50 +05:30
phy-rockchip-inno-hdmi.c phy/rockchip: inno-hdmi: add more supported pre-pll rates 2023-07-12 22:27:43 +05:30
phy-rockchip-inno-usb2.c phy: phy-rockchip-inno-usb2: improve error message 2023-07-12 22:27:41 +05:30
phy-rockchip-naneng-combphy.c phy: rockchip: Add naneng combo phy support for RK3588 2023-03-31 19:25:37 +05:30
phy-rockchip-pcie.c phy: rockchip-pcie: remove unused phy_rd_cfg function 2023-03-31 19:23:13 +05:30
phy-rockchip-snps-pcie3.c phy: rockchip-snps-pcie3: only look for rockchip,pipe-grf on rk3588 2022-09-29 11:43:04 +05:30
phy-rockchip-typec.c phy: rockchip: phy-rockchip-typec: Use devm_platform_get_and_ioremap_resource() 2023-07-12 22:27:40 +05:30
phy-rockchip-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00