linux-stable/drivers/phy/mediatek
Michael Walle c7573ba355 phy: mediatek: mipi: mt8183: fix minimal supported frequency
[ Upstream commit 06f76e464a ]

The lowest supported clock frequency of the PHY is 125MHz (see also
mtk_mipi_tx_pll_enable()), but the clamping in .round_rate() has the
wrong minimal value, which will make the .enable() op return -EINVAL on
low frequencies. Fix the minimal clamping value.

Fixes: efda51a58b ("drm/mediatek: add mipi_tx driver for mt8183")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231123110202.2025585-1-mwalle@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:16:57 +01:00
..
Kconfig phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
Makefile phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-dp.c phy: phy-mtk-dp: Fix an error code in probe() 2023-07-12 22:27:02 +05:30
phy-mtk-hdmi-mt2701.c phy: mediatek: hdmi: mt2701: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8173.c phy: mediatek: hdmi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8195.c phy: mediatek: hdmi: mt8195: fix prediv bad upper limit test 2023-07-12 22:27:02 +05:30
phy-mtk-hdmi-mt8195.h phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-hdmi.c phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-hdmi.h phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mtk-io.h phy: mediatek: remove temporary variable @mask_ 2023-02-02 18:35:13 +05:30
phy-mtk-mipi-dsi-mt8173.c phy: mediatek: mipi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-mipi-dsi-mt8183.c phy: mediatek: mipi: mt8183: fix minimal supported frequency 2024-01-10 17:16:57 +01:00
phy-mtk-mipi-dsi.c phy: mediatek: mipi-dsi: Compress of_device_id match entries 2023-07-12 22:27:42 +05:30
phy-mtk-mipi-dsi.h phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mtk-pcie.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mtk-tphy.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mtk-ufs.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mtk-xsphy.c phy: mediatek: xsphy: remove macros used to prepare bitfield value 2022-09-24 11:57:49 +05:30