Skip to contentSkip to conversation

clk: altera: agilex: Update sync to async mode config in clk pll

PATCH In review Boon Khai Ng 2 participants 2 messages Feb 25 – Apr 14 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: altera: agilex: Update sync to async mode config in clk pll

From: Alif Zakuan Yuslaimi <[email protected]>

Remove MEMBUS_CLKSLICE_REG source synchronous mode configuration to run as source asynchronous mode.

Switching the HPS PLL to async mode improves resistance to clock marginality issues such as F2S clk to HPS PLL

---
 drivers/clk/altera/clk-agilex.c | 9 ---------
 1 file changed, 9 deletions(-)
drivers/clk/altera/clk-agilex.c +0 -9
index b793dbf6a42..426f400159c 100644
@@ -74,15 +74,6 @@ static const struct {
 	u32 val;
 	u32 mask;
 } membus_pll[] = {
-	{
-		MEMBUS_CLKSLICE_REG,
-		/*
-		 * BIT[7:7]
-		 * Enable source synchronous mode
-		 */
-		BIT(7),
-		BIT(7)
-	},
 	{
 		MEMBUS_SYNTHCALFOSC_INIT_CENTERFREQ_REG,
 		/*
Signature · 1 line
2.43.7
Reviewed-by on v1 1/1
#1 lore raw
Quoted 43 lines

From: Ng, Boon Khai <[email protected]>
Sent: Wednesday, February 25, 2026 5:44 PM
To: U-boot Openlist <[email protected]>
Cc: Yuslaimi, Alif Zakuan <[email protected]>; Maniyam, Dinesh <[email protected]>; Lukasz Majewski <[email protected]>; Naresh Kumar Ravulapalli <[email protected]>; Patrice Chotard <[email protected]>; Peng Fan <[email protected]>; Chee, Tien Fong <[email protected]>; Tom Rini <[email protected]>; Ng, Boon Khai <[email protected]>; Lok, Chen Huei <[email protected]>; Hea, Kok Kiang <[email protected]>
Subject: [PATCH v1] clk: altera: agilex: Update sync to async mode config in clk pll
From: Alif Zakuan Yuslaimi <[email protected]> Remove MEMBUS_CLKSLICE_REG source synchronous mode configuration to run as source asynchronous mode.
Switching the HPS PLL to async mode improves resistance to clock marginality issues such as F2S clk to HPS PLL

---
 drivers/clk/altera/clk-agilex.c | 9 ---------

 1 file changed, 9 deletions(-)
drivers/clk/altera/clk-agilex.c +0 -10
index b793dbf6a42..426f400159c 100644
@@ -74,15 +74,6 @@ static const struct {
          u32 val;
          u32 mask;
  } membus_pll[] = {
-       {
-               MEMBUS_CLKSLICE_REG,
-               /*
-                * BIT[7:7]
-                * Enable source synchronous mode
-                */
-               BIT(7),
-               BIT(7)
-       },
          {
                  MEMBUS_SYNTHCALFOSC_INIT_CENTERFREQ_REG,
                  /*
--
Quoted 1 line

2.43.7

Best regards,
Tien Fong