Thread (8 messages) 8 messages, 3 authors, 2024-08-31

Re: [PATCH 2/3] clk: at91: clk-master: increase maximum number of clocks

From: claudiu beznea <claudiu.beznea@tuxon.dev>
Date: 2024-08-31 13:27:03
Also in: linux-clk, lkml


On 29.08.2024 19:42, Ryan.Wanner@microchip.com wrote:
quoted hunk ↗ jump to hunk
From: Ryan Wanner <Ryan.Wanner@microchip.com>

Increase maximum number of vaild master clocks. The PMC for the SAMA7D65
requires 9 master clocks.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 drivers/clk/at91/clk-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c
index 15c46489ba85..7a544e429d34 100644
--- a/drivers/clk/at91/clk-master.c
+++ b/drivers/clk/at91/clk-master.c
@@ -20,7 +20,7 @@
 
 #define PMC_MCR_CSS_SHIFT	(16)
 
-#define MASTER_MAX_ID		4
+#define MASTER_MAX_ID		9
This patch need to go before SAMA7D65 clock driver.
 
 #define to_clk_master(hw) container_of(hw, struct clk_master, hw)
 
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help