linux-arm-kernel.lists.infradead.org archive mirror
 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
  2020-07-08  3:16 ` [PATCH V2 2/2] arm64: imx: Select TPM driver by default Anson Huang
  2020-07-20 10:47 ` [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64 Daniel Lezcano
  0 siblings, 2 replies; 5+ 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 5+ 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 ` [PATCH V2 2/2] arm64: imx: Select TPM driver by default Anson Huang
2020-07-17  3:57   ` Daniel Lezcano
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).