mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
phy: rockchip: mipi-dcphy: fix PLL VCO restrictions
Frequency of VCO's output: 2600MHz ≤ Fvco ≤ 6600MHz Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> Change-Id: Iace886293b9d30d0cedcae4ad56582109c5ee716
This commit is contained in:
@@ -1466,7 +1466,11 @@ samsung_mipi_dcphy_pll_round_rate(struct samsung_mipi_dcphy *samsung,
|
||||
/* 0 ≤ S[2:0] ≤ 6 */
|
||||
for (_scaler = 0; _scaler < 7; _scaler++) {
|
||||
fvco = fout << _scaler;
|
||||
if (fvco > max_fout)
|
||||
|
||||
/*
|
||||
* 2600MHz ≤ FVCO ≤ 6600MHz
|
||||
*/
|
||||
if (fvco < 2600 || fvco > 6600)
|
||||
continue;
|
||||
|
||||
/* 6MHz ≤ Fref(Fin / p) ≤ 30MHz */
|
||||
|
||||
Reference in New Issue
Block a user