]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: versaclock3: Add support for the 5L35023 variant
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tue, 10 Dec 2024 17:09:32 +0000 (19:09 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 10 Dec 2024 22:49:29 +0000 (14:49 -0800)
Add support for the 5L35023 variant of the Versa 3 clock generator.

Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/r/20241210170953.2936724-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock3.c

index 1398d16df5d077ccbdd3f48cf3dfc8d43e622159..9fe27dace1117aa9e2f29be76744cdefceea3de3 100644 (file)
@@ -1133,8 +1133,14 @@ static const struct vc3_hw_cfg vc3_5p = {
        .se2_clk_sel_msk = BIT(6),
 };
 
+static const struct vc3_hw_cfg vc3_5l = {
+       .pll2_vco = { .min = 30000000UL, .max = 130000000UL },
+       .se2_clk_sel_msk = BIT(0),
+};
+
 static const struct of_device_id dev_ids[] = {
        { .compatible = "renesas,5p35023", .data = &vc3_5p },
+       { .compatible = "renesas,5l35023", .data = &vc3_5l },
        { /* Sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, dev_ids);