mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources
@ 2025-12-05 12:19 Michael Grzeschik
  2025-12-05 12:19 ` [PATCH 1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll Michael Grzeschik
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Grzeschik @ 2025-12-05 12:19 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
Michael Grzeschik (2):
      clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll
      clk: imx: clk-fracn-gppll: Add 135MHz config for video pll

 drivers/clk/imx/clk-fracn-gppll.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
base-commit: 09de6fda433abc62402ca37ceadc9737ba9f0a1b
change-id: 20251205-gppll-1782d5a994f2

Best regards,
-- 
Michael Grzeschik <m.grzeschik@pengutronix.de>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll
  2025-12-05 12:19 [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Michael Grzeschik
@ 2025-12-05 12:19 ` Michael Grzeschik
  2025-12-05 12:19 ` [PATCH 2/2] clk: imx: clk-fracn-gppll: Add 135MHz " Michael Grzeschik
  2025-12-08  7:43 ` [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Grzeschik @ 2025-12-05 12:19 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX

Add the 355.6MHz frequency support that will be used by video subsystem
on imx93.

The 355.6MHz can be used to drive the pixclock of 25.4MHz and LVDS Clock of
177.8MHz.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 drivers/clk/imx/clk-fracn-gppll.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
index 24e66fd65fbd822b91a7b8975a1b88de20243df1..39a9ed06965248d49f41a908b82dc13dbb8017fc 100644
--- a/drivers/clk/imx/clk-fracn-gppll.c
+++ b/drivers/clk/imx/clk-fracn-gppll.c
@@ -58,6 +58,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(355600000U, 177, 80, 100, 0, 12),
 	PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12)
 };
 

-- 
2.47.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] clk: imx: clk-fracn-gppll: Add 135MHz config for video pll
  2025-12-05 12:19 [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Michael Grzeschik
  2025-12-05 12:19 ` [PATCH 1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll Michael Grzeschik
@ 2025-12-05 12:19 ` Michael Grzeschik
  2025-12-08  7:43 ` [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Grzeschik @ 2025-12-05 12:19 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX

Add the 135MHz frequency support that will be used by video subsystem
on imx93.

The 135MHz can be used to drive the pixclock of 9MHz.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 drivers/clk/imx/clk-fracn-gppll.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
index 39a9ed06965248d49f41a908b82dc13dbb8017fc..339ffaf54b7b87ebed6b07ceb945ae0c09f32747 100644
--- a/drivers/clk/imx/clk-fracn-gppll.c
+++ b/drivers/clk/imx/clk-fracn-gppll.c
@@ -59,7 +59,8 @@ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {
 	PLL_FRACN_GP(400000000U, 200, 0, 1, 0, 12),
 	PLL_FRACN_GP(393216000U, 163, 84, 100, 0, 10),
 	PLL_FRACN_GP(355600000U, 177, 80, 100, 0, 12),
-	PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12)
+	PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12),
+	PLL_FRACN_GP(135000000U, 44, 1, 1, 0, 8)
 };
 
 struct imx_fracn_gppll_clk imx_fracn_gppll = {

-- 
2.47.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources
  2025-12-05 12:19 [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Michael Grzeschik
  2025-12-05 12:19 ` [PATCH 1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll Michael Grzeschik
  2025-12-05 12:19 ` [PATCH 2/2] clk: imx: clk-fracn-gppll: Add 135MHz " Michael Grzeschik
@ 2025-12-08  7:43 ` Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-12-08  7:43 UTC (permalink / raw)
  To: BAREBOX, Michael Grzeschik


On Fri, 05 Dec 2025 13:19:44 +0100, Michael Grzeschik wrote:
> 


Applied, thanks!

[1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll
      https://git.pengutronix.de/cgit/barebox/commit/?id=1c1461e61510 (link may not be stable)
[2/2] clk: imx: clk-fracn-gppll: Add 135MHz config for video pll
      https://git.pengutronix.de/cgit/barebox/commit/?id=6a2e90a112e4 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-08  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-05 12:19 [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Michael Grzeschik
2025-12-05 12:19 ` [PATCH 1/2] clk: imx: clk-fracn-gppll: Add 355.6MHz config for video pll Michael Grzeschik
2025-12-05 12:19 ` [PATCH 2/2] clk: imx: clk-fracn-gppll: Add 135MHz " Michael Grzeschik
2025-12-08  7:43 ` [PATCH 0/2] clk: imx: clk-fracn-gppll: add more frequencies for video-pll sources Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox