diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2021-05-13 12:18:31 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-06-09 13:01:33 +0200 |
commit | f8c8573b85765f60d4c4ef022a1fc57bbb2dd704 (patch) | |
tree | 8d53981d61c20b1644a5acbeb0fd6c2e3e78c04d /drivers/timer/Kconfig | |
parent | 55ad6123067d1f4158c4b011672a354038bca373 (diff) | |
download | u-boot-f8c8573b85765f60d4c4ef022a1fc57bbb2dd704.zip u-boot-f8c8573b85765f60d4c4ef022a1fc57bbb2dd704.tar.gz u-boot-f8c8573b85765f60d4c4ef022a1fc57bbb2dd704.tar.bz2 |
timer: imx-gpt: Add timer support for i.MX SoCs family
This timer driver uses GPT Timer (General Purpose Timer) available on
a lot of i.MX SoCs family. This driver deals with both 24Mhz oscillator
as well as peripheral clock.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Giulio: added the driver's stub and handled peripheral clock prescaler
setting making driver to work correctly]
Signed-off-by: Jesse Taube <mr.bossman075@gmail.com>
[Jesse: added init, setting prescaler for 24Mhz support and enabling
timer]
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r-- | drivers/timer/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 80743a2..ee81dfa 100644 --- a/drivers/timer/Kconfig +++ b/drivers/timer/Kconfig @@ -227,4 +227,11 @@ config MCHP_PIT64B_TIMER Select this to enable support for Microchip 64-bit periodic interval timer. +config IMX_GPT_TIMER + bool "NXP i.MX GPT timer support" + depends on TIMER + help + Select this to enable support for the timer found on + NXP i.MX devices. + endmenu |