clocksource: Add support for i.MX TPM driver with ARM64
Subsystems (2)
PATCH v2 1/2 clocksource: Add support for i.MX TPM driver with ARM64
Allows building and compile-testing the i.MX TPM driver for ARM64.
---
Changes since V1:
- select TIMER_OF for CLKSRC_IMX_TPM.
--- drivers/clocksource/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/clocksource/Kconfig +2 -1
@@ -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.
Signature · 1 line
2.7.4
PATCH v2 2/2 arm64: imx: Select TPM driver by default
Select CLKSRC_IMX_TPM for ARCH_MXC by default.
---
No change.
--- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+)
arch/arm64/Kconfig.platforms +1 -0
@@ -169,6 +169,7 @@ config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 select ARM64_ERRATUM_845719 if COMPAT + select CLKSRC_IMX_TPM select IMX_GPCV2 select IMX_GPCV2_PM_DOMAINS select PM
Signature · 1 line
2.7.4
Re: [PATCH V2 2/2] arm64: imx: Select TPM driver by default
Quoted 14 lines · Anson Huang
Select
CLKSRC_IMX_TPMforARCH_MXCby default.Signed-off-by Anson Huang <[email protected]>---
No change.--- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+)arch/arm64/Kconfig.platforms +0
-0
arch/arm64/Kconfig.platforms config ARCH_MXC · line 175
Quoted 7 lines
arch/arm64/Kconfig.platforms +1
-0@@ -169,6 +169,7 @@ config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 select ARM64_ERRATUM_845719 if COMPAT + select CLKSRC_IMX_TPM select IMX_GPCV2 select IMX_GPCV2_PM_DOMAINS select PM
Shall I take this patch also or just 1/2 ?
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
RE: [PATCH V2 2/2] arm64: imx: Select TPM driver by default
In reply to Anson HuangGentle ping...
Quoted 32 lines
-----Original Message-----
From: Anson Huang <[email protected]>
Sent: 2020年7月8日 11:16
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: dl-linux-imx <[email protected]>
Subject: [PATCH V2 2/2] arm64: imx: Select TPM driver by defaultSelect
CLKSRC_IMX_TPMforARCH_MXCby default.Signed-off-by Anson Huang <[email protected]>---
No change.--- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+)arch/arm64/Kconfig.platforms +1
-1@@ -169,6 +169,7 @@ config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 select ARM64_ERRATUM_845719 if COMPAT + select CLKSRC_IMX_TPM select IMX_GPCV2 select IMX_GPCV2_PM_DOMAINS select PM --2.7.4
Daniel Lezcano
AppliedQuoted 15 lines · Anson Huang
Allows building and compile-testing the i.MX TPM driver for ARM64.
Signed-off-by Anson Huang <[email protected]>---
Changes since V1:
- selectTIMER_OFforCLKSRC_IMX_TPM.--- drivers/clocksource/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/clocksource/Kconfig +0
-0
drivers/clocksource/Kconfig config CLKSRC_IMX_GPT · line 628
Quoted 10 lines
drivers/clocksource/Kconfig +2
-1@@ -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.
Applied, but I will let 2/2 applied by the corresponding maintainer.
Thanks
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
[tip: timers/core] clocksource/drivers/imx: Add support for i.MX TPM driver with ARM64
In reply to Anson HuangThe following commit has been merged into the timers/core branch of tip:
The following commit has been merged into the timers/core branch of tip:
Commit-ID: a6d0812a081defd8bef5453c7b69a1cb4735a170 Gitweb: https://git.kernel.org/tip/a6d0812a081defd8bef5453c7b69a1cb4735a170 Author: Anson Huang <[email protected]> AuthorDate: Wed, 08 Jul 2020 11:16:07 +08:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Thu, 23 Jul 2020 16:57:34 +02:00
clocksource/drivers/imx: Add support for i.MX TPM driver with ARM64
Allows building and compile-testing the i.MX TPM driver for ARM64.
--- drivers/clocksource/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/clocksource/Kconfig +2 -1
@@ -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.