]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: imx: pll14xx: Add 208 MHz and 416 MHz entries for PLL1416x
authorMarek Vasut <marex@denx.de>
Tue, 12 Nov 2024 01:37:35 +0000 (02:37 +0100)
committerAbel Vesa <abel.vesa@linaro.org>
Thu, 26 Dec 2024 14:28:18 +0000 (16:28 +0200)
The PLL1416x is used to implement SYS_PLL3 on i.MX8MP and can be used
to drive CLKOUTn clock. Add 208 MHz and 416 MHz entries to the PLL so
they can be generated by the PLL and used to produce e.g. 13 MHz or
26 MHz on CLKOUTn output.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20241112013805.333798-1-marex@denx.de
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-pll14xx.c

index d63564dbb12cad299a87fb6f015f2d365265a1bb..f290981ea13bdba3602af7aa44aaadfe0b78dcf9 100644 (file)
@@ -56,7 +56,9 @@ static const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = {
        PLL_1416X_RATE(700000000U,  350, 3, 2),
        PLL_1416X_RATE(640000000U,  320, 3, 2),
        PLL_1416X_RATE(600000000U,  300, 3, 2),
+       PLL_1416X_RATE(416000000U,  208, 3, 2),
        PLL_1416X_RATE(320000000U,  160, 3, 2),
+       PLL_1416X_RATE(208000000U,  208, 3, 3),
 };
 
 static const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = {