kernel_optimize_test/drivers/phy
Jonas Karlman 4f510aa104 phy/rockchip: inno-hdmi: round clock rate down to closest 1000 Hz
Commit 287422a95f ("drm/rockchip: Round up _before_ giving to the clock framework")
changed what rate clk_round_rate() is called with, an additional 999 Hz
added to the requsted mode clock. This has caused a regression on RK3328
and presumably also on RK3228 because the inno-hdmi-phy clock requires an
exact match of the requested rate in the pre pll config table.

When an exact match is not found the parent clock rate (24MHz) is returned
to the clk_round_rate() caller. This cause wrong pixel clock to be used and
result in no-signal when configuring a mode on RK3328.

Fix this by rounding the rate down to closest 1000 Hz in round_rate func,
this allows an exact match to be found in pre pll config table.

Fixes: 287422a95f ("drm/rockchip: Round up _before_ giving to the clock framework")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2019-12-31 15:46:08 +05:30
..
allwinner phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC 2019-10-31 16:54:00 +05:30
amlogic phy: meson-g12a-usb3-pcie: Add support for PCIe mode 2019-10-15 14:57:32 +01:00
broadcom phy: phy-brcm-usb-init: fix use of integer as pointer 2019-10-23 13:20:31 +05:30
cadence
freescale
hisilicon phy: hisilicon: use devm_platform_ioremap_resource() to simplify code 2019-10-23 13:20:28 +05:30
lantiq phy: lantiq: vrx200-pcie: fix error return code in ltq_vrx200_pcie_phy_power_on() 2019-10-31 16:54:01 +05:30
marvell ARM: SoC-related driver updates 2019-12-05 11:43:31 -08:00
mediatek
motorola phy: cpcap-usb: Drop extra write to usb2 register 2019-12-26 16:27:53 +05:30
mscc
qualcomm phy: qcom-qmp: Increase PHY ready timeout 2019-12-20 17:13:59 +05:30
ralink
renesas phy: renesas: phy-rcar-gen2: Fix the array off by one warning 2019-10-31 16:54:01 +05:30
rockchip phy/rockchip: inno-hdmi: round clock rate down to closest 1000 Hz 2019-12-31 15:46:08 +05:30
samsung
socionext
st
tegra phy: tegra: use regulator_bulk_set_supply_names() 2019-10-25 17:58:13 +05:30
ti Char/Misc driver patches for 5.5-rc1 2019-11-27 10:53:50 -08:00
Kconfig
Makefile
phy-core-mipi-dphy.c
phy-core.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c phy: xgene: make array serdes_reg static const, makes object smaller 2019-10-23 13:20:26 +05:30