diff mbox series

clocksource/drivers/exynos_mct: Enable building on ARTPEC

Message ID 20220307083744.1592533-1-vincent.whitchurch@axis.com (mailing list archive)
State Accepted
Commit 55ccdab79524ce9a46965af6e1908b90fa92b303
Headers show
Series clocksource/drivers/exynos_mct: Enable building on ARTPEC | expand

Commit Message

Vincent Whitchurch March 7, 2022, 8:37 a.m. UTC
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(-)

Comments

Krzysztof Kozlowski March 7, 2022, 8:46 a.m. UTC | #1
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
diff mbox series

Patch

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.