diff mbox series

[4/5] clk: imx: clk-fracn-gppll: Add 477.4MHz config for video pll

Message ID 20231020130019.665853-5-alexander.stein@ew.tq-group.com (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series TQMa93xxLA/MBa93xxLA LVDS support | expand

Commit Message

Alexander Stein Oct. 20, 2023, 1 p.m. UTC
Add the 477.4MHz frequency support that will be used by video subsystem
on imx93.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/clk/imx/clk-fracn-gppll.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Marco Felsch Oct. 20, 2023, 2:20 p.m. UTC | #1
Hi Alexander,

On 23-10-20, Alexander Stein wrote:
> Add the 477.4MHz frequency support that will be used by video subsystem
> on imx93.

albeit the change is fine, could we consider adding support to calc the
params dynamically?

Regards,
  Marco
Alexander Stein Oct. 23, 2023, 10:43 a.m. UTC | #2
Hi Marco,

Am Freitag, 20. Oktober 2023, 16:20:55 CEST schrieb Marco Felsch:
> Hi Alexander,
> 
> On 23-10-20, Alexander Stein wrote:
> > Add the 477.4MHz frequency support that will be used by video subsystem
> > on imx93.
> 
> albeit the change is fine, could we consider adding support to calc the
> params dynamically?

Agreed, I would prefer that as well: But unfortunately I will not be able to 
add dynamic calculation right now.

Best regards,
Alexander
Marco Felsch Oct. 23, 2023, 12:33 p.m. UTC | #3
On 23-10-23, Alexander Stein wrote:
> Hi Marco,
> 
> Am Freitag, 20. Oktober 2023, 16:20:55 CEST schrieb Marco Felsch:
> > Hi Alexander,
> > 
> > On 23-10-20, Alexander Stein wrote:
> > > Add the 477.4MHz frequency support that will be used by video subsystem
> > > on imx93.
> > 
> > albeit the change is fine, could we consider adding support to calc the
> > params dynamically?
> 
> Agreed, I would prefer that as well: But unfortunately I will not be able to 
> add dynamic calculation right now.

Okay, just wanted to ask if someone (maybe TQ) has the time to implement
and test it.

Regards,
  Marco
diff mbox series

Patch

diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
index 44462ab50e51..deb03c6d16e9 100644
--- a/drivers/clk/imx/clk-fracn-gppll.c
+++ b/drivers/clk/imx/clk-fracn-gppll.c
@@ -84,6 +84,7 @@  static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {
 	PLL_FRACN_GP(519750000U, 173, 25, 100, 1, 8),
 	PLL_FRACN_GP(498000000U, 166, 0, 1, 0, 8),
 	PLL_FRACN_GP(484000000U, 121, 0, 1, 0, 6),
+	PLL_FRACN_GP(477400000U, 119, 35, 100, 0, 6),
 	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),