All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64
@ 2020-07-08  3:16 ` Anson Huang
  0 siblings, 0 replies; 11+ messages in thread
From: Anson Huang @ 2020-07-08  3:16 UTC (permalink / raw)
  To: catalin.marinas, will, daniel.lezcano, tglx, linux-arm-kernel,
	linux-kernel
  Cc: Linux-imx

Allows building and compile-testing the i.MX TPM driver for ARM64.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
Changes since V1:
	- select TIMER_OF for CLKSRC_IMX_TPM.
---
 drivers/clocksource/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index be49123..401eac7 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -620,8 +620,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.
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-08-20  7:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  3:16 [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64 Anson Huang
2020-07-08  3:16 ` Anson Huang
2020-07-08  3:16 ` [PATCH V2 2/2] arm64: imx: Select TPM driver by default Anson Huang
2020-07-08  3:16   ` Anson Huang
2020-07-17  3:57   ` Daniel Lezcano
2020-07-17  3:57     ` Daniel Lezcano
2020-08-20  6:22   ` Anson Huang
2020-08-20  6:22     ` Anson Huang
2020-07-20 10:47 ` [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64 Daniel Lezcano
2020-07-20 10:47   ` Daniel Lezcano
2020-07-23 19:09 ` [tip: timers/core] clocksource/drivers/imx: " tip-bot2 for Anson Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.