[PATCH] clocksource/drivers/exynos_mct: Enable building on ARTPEC

Vincent Whitchurch posted 1 patch 4 years, 3 months ago
There is a newer version of this series
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] clocksource/drivers/exynos_mct: Enable building on ARTPEC
Posted by Vincent Whitchurch 4 years, 3 months ago
This timer block is used on ARTPEC-8.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index ae95d06a4a8f..2ea981ef23af 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -419,7 +419,7 @@ config ATMEL_TCB_CLKSRC
 config CLKSRC_EXYNOS_MCT
 	bool "Exynos multi core timer driver" if COMPILE_TEST
 	depends on ARM || ARM64
-	depends on ARCH_EXYNOS || COMPILE_TEST
+	depends on ARCH_ARTPEC || ARCH_EXYNOS || COMPILE_TEST
 	help
 	  Support for Multi Core Timer controller on Exynos SoCs.
 
-- 
2.34.1
Re: [PATCH] clocksource/drivers/exynos_mct: Enable building on ARTPEC
Posted by Krzysztof Kozlowski 4 years, 3 months ago
On 07/03/2022 09:37, Vincent Whitchurch wrote:
> This timer block is used on ARTPEC-8.
> 
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
> ---
>  drivers/clocksource/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index ae95d06a4a8f..2ea981ef23af 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -419,7 +419,7 @@ config ATMEL_TCB_CLKSRC
>  config CLKSRC_EXYNOS_MCT
>  	bool "Exynos multi core timer driver" if COMPILE_TEST
>  	depends on ARM || ARM64
> -	depends on ARCH_EXYNOS || COMPILE_TEST
> +	depends on ARCH_ARTPEC || ARCH_EXYNOS || COMPILE_TEST

This looks ok, but please also provide compatible in the bindings (if
driver stays the same) on top of my patches specifying number of interrupts:
https://github.com/krzk/linux/commits/n/dt-bindings-exynos-mct-v2

Best regards,
Krzysztof