mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 01:02:08 +00:00
d567679f2b
Currently, the calcuation for fld_tg_code is based on a lookup table,
but there are gaps in the lookup table, and frequencies in these
gaps may not properly use the correct divider. Based on the description
of FLD_CK_DIV, the internal PLL frequency should be less than 50 MHz,
so directly calcuate the value of FLD_CK_DIV from pixclk.
This allow for proper calcuation of any pixel clock and eliminates a
few gaps in the LUT.
Since the value of the int_pllclk is in Hz, do the fixed-point
math in Hz to achieve a more accurate value and reduces the complexity
of the caluation to 24MHz * (256 / int_pllclk).
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-fsl-imx8-mipi-dphy.c | ||
phy-fsl-imx8m-pcie.c | ||
phy-fsl-imx8mq-usb.c | ||
phy-fsl-imx8qm-hsio.c | ||
phy-fsl-imx8qm-lvds-phy.c | ||
phy-fsl-lynx-28g.c | ||
phy-fsl-samsung-hdmi.c |