Skip to content

Commit a6d0812

Browse files
Anson-Huangdlezcano
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f19d838 commit a6d0812

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clocksource/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,9 @@ config CLKSRC_IMX_GPT
616616

617617
config CLKSRC_IMX_TPM
618618
bool "Clocksource using i.MX TPM" if COMPILE_TEST
619-
depends on ARM && CLKDEV_LOOKUP
619+
depends on (ARM || ARM64) && CLKDEV_LOOKUP
620620
select CLKSRC_MMIO
621+
select TIMER_OF
621622
help
622623
Enable this option to use IMX Timer/PWM Module (TPM) timer as
623624
clocksource.

0 commit comments

Comments
 (0)