[PATCH v3 0/1] timer: imx-gpt: Add timer support for i.MX SoCs family

Jesse mr.bossman075 at gmail.com
Fri Feb 12 02:11:50 CET 2021


From: Jesse Taube <mr.bossman075 at gmail.com>

This timer driver is using GPT Timer (General Purpose Timer) 
available on almost all i.MX SoCs family.
Since this driver is only meant to provide u-boot's timer and counter,
and most of the i.MX* SoCs use a 24Mhz crystal, 
let's only deal with that specific source.

Jesse Taube (1):
  timer: imx-gpt: Add timer support for i.MX SoCs family

 drivers/timer/Kconfig         |   7 ++
 drivers/timer/Makefile        |   1 +
 drivers/timer/imx-gpt-timer.c | 149 ++++++++++++++++++++++++++++++++++
 3 files changed, 157 insertions(+)
 create mode 100644 drivers/timer/imx-gpt-timer.c
---
V1->V2:
* Fixed indentation
* Fixed capitals
* Made timer work on only 24MHz clock
---
---
V1->V3:
* Fixed indentation
* Made implementation imatate the Linux kernel
* Fix wrong definition 
---
-- 
2.30.0



More information about the U-Boot mailing list