]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: at91: Update MAX PLL and master clk ID
authorRyan Wanner <Ryan.Wanner@microchip.com>
Mon, 7 Jul 2025 11:31:27 +0000 (17:01 +0530)
committerEugen Hristev <eugen.hristev@linaro.org>
Fri, 25 Jul 2025 08:54:43 +0000 (11:54 +0300)
Update the MAX PLL and master CLK ID to support sama7d65
SoC family.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-sam9x60-pll.c

index d28775d64d33ff8c939391bfab2701bbcec2e148..cdc5271fa83328c183a46feef45e2e0a6c542be6 100644 (file)
@@ -37,7 +37,7 @@
 
 #define PMC_MCR_ID(x)          ((x) & PMC_MCR_ID_MSK)
 
-#define MASTER_MAX_ID          4
+#define MASTER_MAX_ID          10
 
 struct clk_master {
        void __iomem *base;
index df8172bccacd19c983650b2e651deaa1af06623e..65be2775ac323b89929d5485703e3fd86779dbd2 100644 (file)
@@ -32,7 +32,7 @@
 #define UPLL_DIV               2
 #define PLL_MUL_MAX            (FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, UINT_MAX) + 1)
 
-#define PLL_MAX_ID             7
+#define PLL_MAX_ID             8
 
 struct sam9x60_pll {
        void __iomem *base;