diff mbox series

[1/2] clocksource: Add support for i.MX TPM driver with ARM64

Message ID 1586500008-4418-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State New, archived
Headers show
Series [1/2] clocksource: Add support for i.MX TPM driver with ARM64 | expand

Commit Message

Anson Huang April 10, 2020, 6:26 a.m. UTC
Allows building and compile-testing the i.MX TPM driver for ARM64.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anson Huang May 28, 2020, 1:57 a.m. UTC | #1
Gentle ping...

> -----Original Message-----
> From: Anson Huang <Anson.Huang@nxp.com>
> Sent: 2020年4月10日 14:27
> To: catalin.marinas@arm.com; will@kernel.org; daniel.lezcano@linaro.org;
> tglx@linutronix.de; linux-arm-kernel@lists.infradead.org;
> linux-kernel@vger.kernel.org
> Cc: dl-linux-imx <linux-imx@nxp.com>
> Subject: [PATCH 1/2] clocksource: Add support for i.MX TPM driver with
> ARM64
> 
> Allows building and compile-testing the i.MX TPM driver for ARM64.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
>  drivers/clocksource/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index
> f2142e6..e9e7fe1 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -617,7 +617,7 @@ config CLKSRC_IMX_GPT
> 
>  config CLKSRC_IMX_TPM
>  	bool "Clocksource using i.MX TPM" if COMPILE_TEST
> -	depends on ARM && CLKDEV_LOOKUP
> +	depends on (ARM || ARM64) && CLKDEV_LOOKUP
>  	select CLKSRC_MMIO
>  	help
>  	  Enable this option to use IMX Timer/PWM Module (TPM) timer as
> --
> 2.7.4
diff mbox series

Patch

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index f2142e6..e9e7fe1 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -617,7 +617,7 @@  config CLKSRC_IMX_GPT
 
 config CLKSRC_IMX_TPM
 	bool "Clocksource using i.MX TPM" if COMPILE_TEST
-	depends on ARM && CLKDEV_LOOKUP
+	depends on (ARM || ARM64) && CLKDEV_LOOKUP
 	select CLKSRC_MMIO
 	help
 	  Enable this option to use IMX Timer/PWM Module (TPM) timer as