]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: imx: fracn-gppll: Add 333.333333 MHz support
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 13 Mar 2026 07:07:31 +0000 (08:07 +0100)
committerAbel Vesa <abel.vesa@oss.qualcomm.com>
Thu, 19 Mar 2026 14:12:13 +0000 (16:12 +0200)
Some parallel panels have a pixelclk of 33.30 MHz. Add support for
333.333333 MHz so a by 10 divider can be used to derive the exact pixelclk.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260313070740.585043-2-alexander.stein@ew.tq-group.com
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
drivers/clk/imx/clk-fracn-gppll.c

index 89ed7749bf47e43271cbe444395b04df7a8358be..fe6ee77ba1485a50a80bd8bf59964002012fc98d 100644 (file)
@@ -88,6 +88,7 @@ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {
        PLL_FRACN_GP(445333333U, 167, 0, 1, 0, 9),
        PLL_FRACN_GP(400000000U, 200, 0, 1, 0, 12),
        PLL_FRACN_GP(393216000U, 163, 84, 100, 0, 10),
+       PLL_FRACN_GP(333333333U, 125, 0, 1, 1, 9),
        PLL_FRACN_GP(332600000U, 138, 584, 1000, 0, 10),
        PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12),
        PLL_FRACN_GP(241900000U, 201, 584, 1000, 0, 20),