[PATCH 13/15] clk: at91: clk-master: increase maximum number of clocks

Ryan.Wanner@microchip.com posted 15 patches 1 year, 2 months ago
There is a newer version of this series
[PATCH 13/15] clk: at91: clk-master: increase maximum number of clocks
Posted by Ryan.Wanner@microchip.com 1 year, 2 months ago
From: Ryan Wanner <Ryan.Wanner@microchip.com>

Increase maximum number of valid 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
 
 #define to_clk_master(hw) container_of(hw, struct clk_master, hw)
 
-- 
2.43.0
Re: [PATCH 13/15] clk: at91: clk-master: increase maximum number of clocks
Posted by Krzysztof Kozlowski 1 year, 2 months ago
On Tue, Nov 19, 2024 at 09:40:19AM -0700, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
> 
> Increase maximum number of valid 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(-)
> 

This goes with the driver change using more clocks, no? Why this is
suitable as separate patch (without the user)?

Best regards,
Krzysztof