From: Anson Huang Date: Wed, 8 Jul 2020 03:16:07 +0000 (+0800) Subject: clocksource/drivers/imx: Add support for i.MX TPM driver with ARM64 X-Git-Tag: v5.9-rc1~156^2~1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6d0812a081defd8bef5453c7b69a1cb4735a170;p=thirdparty%2Fkernel%2Flinux.git clocksource/drivers/imx: 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/1594178168-13007-1-git-send-email-Anson.Huang@nxp.com --- diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 91418381fcd41..9936d15349986 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -616,8 +616,9 @@ 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 + select TIMER_OF help Enable this option to use IMX Timer/PWM Module (TPM) timer as clocksource.