linux/drivers/phy/mediatek
Tom Rix 03262a3f5b phy: mediatek: rework the floating point comparisons to fixed point
gcc on aarch64 reports
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c: In function ‘mtk_hdmi_pll_set_rate’:
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:240:52: error: ‘-mgeneral-regs-only’
  is incompatible with the use of floating-point types
  240 |         else if (tmds_clk >= 54 * MEGA && tmds_clk < 148.35 * MEGA)

Floating point should not be used, so rework the floating point comparisons
to fixed point.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20230502145005.2927101-1-trix@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-05-16 19:48:06 +05:30
..
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: make array driving_params static const 2022-09-29 21:01:27 +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: rework the floating point comparisons to fixed point 2023-05-16 19:48:06 +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: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +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: use common helper to access registers 2022-09-24 11:57:51 +05:30
phy-mtk-mipi-dsi.c phy: mediatek: phy-mtk-mipi-dsi: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-mtk-mipi-dsi.h phy: mediatek: mipi: remove register access helpers 2022-09-24 11:57:51 +05:30
phy-mtk-pcie.c phy: mediatek: pcie: use new helper to update register bits 2022-09-24 11:57:49 +05:30
phy-mtk-tphy.c phy: mediatek: tphy: remove macros to prepare bitfield value 2022-09-24 11:57:49 +05:30
phy-mtk-ufs.c phy: mediatek: ufs: use common register access helpers 2022-09-24 11:57:49 +05:30
phy-mtk-xsphy.c phy: mediatek: xsphy: remove macros used to prepare bitfield value 2022-09-24 11:57:49 +05:30