Message ID | 1594178168-13007-1-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [V2,1/2] clocksource: Add support for i.MX TPM driver with ARM64 | expand |
On 08/07/2020 05:16, Anson Huang wrote: > 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. Applied, but I will let 2/2 applied by the corresponding maintainer. Thanks -- Daniel
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.
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(-)