@@ -60,18 +60,20 @@ struct clk_fracn_gppll {
60
60
};
61
61
62
62
/*
63
- * Fvco = Fref * (MFI + MFN / MFD)
64
- * Fout = Fvco / (rdiv * odiv)
63
+ * Fvco = (Fref / rdiv) * (MFI + MFN / MFD)
64
+ * Fout = Fvco / odiv
65
+ * The (Fref / rdiv) should be in range 20MHz to 40MHz
66
+ * The Fvco should be in range 2.5Ghz to 5Ghz
65
67
*/
66
68
static const struct imx_fracn_gppll_rate_table fracn_tbl [] = {
67
- PLL_FRACN_GP (650000000U , 81 , 0 , 1 , 0 , 3 ),
69
+ PLL_FRACN_GP (650000000U , 162 , 50 , 100 , 0 , 6 ),
68
70
PLL_FRACN_GP (594000000U , 198 , 0 , 1 , 0 , 8 ),
69
- PLL_FRACN_GP (560000000U , 70 , 0 , 1 , 0 , 3 ),
70
- PLL_FRACN_GP (498000000U , 83 , 0 , 1 , 0 , 4 ),
71
+ PLL_FRACN_GP (560000000U , 140 , 0 , 1 , 0 , 6 ),
72
+ PLL_FRACN_GP (498000000U , 166 , 0 , 1 , 0 , 8 ),
71
73
PLL_FRACN_GP (484000000U , 121 , 0 , 1 , 0 , 6 ),
72
74
PLL_FRACN_GP (445333333U , 167 , 0 , 1 , 0 , 9 ),
73
- PLL_FRACN_GP (400000000U , 50 , 0 , 1 , 0 , 3 ),
74
- PLL_FRACN_GP (393216000U , 81 , 92 , 100 , 0 , 5 )
75
+ PLL_FRACN_GP (400000000U , 200 , 0 , 1 , 0 , 12 ),
76
+ PLL_FRACN_GP (393216000U , 163 , 84 , 100 , 0 , 10 )
75
77
};
76
78
77
79
struct imx_fracn_gppll_clk imx_fracn_gppll = {
0 commit comments