Message ID | 20241108104958.2931943-5-claudiu.beznea.uj@bp.renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add audio support for the Renesas RZ/G3S SoC | expand |
Hi Claudiu, Thanks for the patch. > -----Original Message----- > From: Claudiu <claudiu.beznea@tuxon.dev> > Sent: 08 November 2024 10:50 > Subject: [PATCH v2 04/25] clk: versaclock3: Add support for the 5L35023 variant > > From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> > > Add support for the 5L35023 variant of the Versa 3 clock generator. > > Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Cheers, Biju > --- > > Changes in v2: > - none > > drivers/clk/clk-versaclock3.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/clk/clk-versaclock3.c b/drivers/clk/clk-versaclock3.c index > 1398d16df5d0..9fe27dace111 100644 > --- a/drivers/clk/clk-versaclock3.c > +++ b/drivers/clk/clk-versaclock3.c > @@ -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); > -- > 2.39.2
diff --git a/drivers/clk/clk-versaclock3.c b/drivers/clk/clk-versaclock3.c index 1398d16df5d0..9fe27dace111 100644 --- a/drivers/clk/clk-versaclock3.c +++ b/drivers/clk/clk-versaclock3.c @@ -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);