]> git.dujemihanovic.xyz Git - u-boot.git/commit
timer: imx-gpt: Add timer support for i.MX SoCs family
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 13 May 2021 10:18:31 +0000 (12:18 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:01:33 +0000 (13:01 +0200)
commitf8c8573b85765f60d4c4ef022a1fc57bbb2dd704
tree8d53981d61c20b1644a5acbeb0fd6c2e3e78c04d
parent55ad6123067d1f4158c4b011672a354038bca373
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]
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/imx-gpt-timer.c [new file with mode: 0644]