[PATCH 2/2] clkdev: increase MAX_DEV_ID to 64
Alexander Stein
alexander.stein at ew.tq-group.com
Fri Nov 14 01:09:33 PST 2025
From: Matthias Schiffer <matthias.schiffer at tq-group.com>
On the TI AM335x, there are clock IDs like
"48000000.interconnect:segment at 200000:target-module at 0:mpu at 0", which is
58 characters long.
Signed-off-by: Matthias Schiffer <matthias.schiffer at tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
---
drivers/clk/clkdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c
index f46324622cca0..8771fe9453830 100644
--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -144,7 +144,7 @@ void clkdev_add_table(struct clk_lookup *cl, size_t num)
mutex_unlock(&clocks_mutex);
}
-#define MAX_DEV_ID 24
+#define MAX_DEV_ID 64
#define MAX_CON_ID 16
struct clk_lookup_alloc {
--
2.43.0
More information about the linux-arm-kernel
mailing list