[PATCH v3 2/3] clocksource/drivers/exynos_mct: bump up mct max irq number
Alim Akhtar
alim.akhtar at samsung.com
Mon Feb 21 09:45:46 PST 2022
Bump-up maximum number of MCT IRQ to match the binding
documentation. This make driver scalable for SoC which
has more than 12 timer irqs, like recently added FSD SoC.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
Signed-off-by: Alim Akhtar <alim.akhtar at samsung.com>
---
drivers/clocksource/exynos_mct.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c
index b3f3d27a837b..0c7931f7f99a 100644
--- a/drivers/clocksource/exynos_mct.c
+++ b/drivers/clocksource/exynos_mct.c
@@ -64,7 +64,8 @@
#define MCT_G0_IRQ 0
/* Local timers count starts after global timer count */
#define MCT_L0_IRQ 4
-#define MCT_NR_IRQS 12
+/* Max number of IRQ as per DT binding document */
+#define MCT_NR_IRQS 20
enum {
MCT_INT_SPI,
--
2.25.1
More information about the linux-arm-kernel
mailing list