diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-04-03 17:52:56 +0800 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-04-09 16:48:54 +0300 |
commit | 56b8d0bf3ea8b0db8543e04a6b97348a543405ab (patch) | |
tree | 4f2d14f0206602d823192ed13fc107a02a4d9d1d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4435467b15b069e5a6f50ca9a9260e86b74dbc13 (diff) |
clk: imx: fracn-gppll: support integer pll
The fracn gppll could be configured in FRAC or INTEGER mode during
hardware design. The current driver only support FRAC mode, while
this patch introduces INTEGER support. When the PLL is INTEGER pll,
there is no mfn, mfd, the calculation is as below:
Fvco_clk = (Fref / DIV[RDIV] ) * DIV[MFI]
Fclko_odiv = Fvco_clk / DIV[ODIV]
In this patch, we reuse the FRAC pll logic with some condition check to
simplify the driver
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230403095300.3386988-4-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions