1
0
Fork 0
Commit Graph

3 Commits (3b4900abbeb0c601ecd38b26ed7697cf6916121a)

Author SHA1 Message Date
Liu Ying cd897aa641 MLK-23942-5 phy: phy-mixel-lvds-combo: Add runtime PM support
This patch adds runtime PM support for the Mixel LVDS combo PHY driver.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
2020-05-09 10:49:00 +08:00
Liu Ying 9ff00c698a phy: mixel-lvds-combo: Configure CO divider to meet fvco range requirement
As the below diagram shows, to achieve a particular serial clock rate,
we should choose an appropriate CO divider value(1/2/4/8) so that PLL
VCO frequency(fvco) is in specified range(640MHz ~ 1500MHz).

 ---------  640MHz ~ 1500MHz   ------------      --------------
| PLL VCO | ----------------> | CO divider | -> | serial clock |
 ---------                     ------------      --------------
                               1/2/4/8 div      7 * phy_clk_rate

This patch configures CO divider to be appropriate value to meet the fvco
range requirement.  This may address display flicker issue seen on some
SoC samples.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:45:15 +08:00
Liu Ying 2738e0707c phy: Add Mixel LVDS combo PHY support
This patch adds Mixel LVDS combo PHY support(MIPI DSI and LVDS combo).
This LVDS PHY supports one LVDS channel in single mode and two channels in
dual mode.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:45:14 +08:00