aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-07-08 11:16:07 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-07-23 16:57:34 +0200
commita6d0812a081defd8bef5453c7b69a1cb4735a170 (patch)
treee89cfdaee63975d34ff4e7a62075c1612f591084 /drivers/clocksource
parentclocksource/drivers/ingenic: Add high resolution timer support for SMP/SMT. (diff)
downloadwireguard-linux-a6d0812a081defd8bef5453c7b69a1cb4735a170.tar.xz
wireguard-linux-a6d0812a081defd8bef5453c7b69a1cb4735a170.zip
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 <Anson.Huang@nxp.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1594178168-13007-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 91418381fcd4..9936d1534998 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.