[PATCH v4 0/1] timer: imx-gpt: Add timer support for i.MX SoCs family
Jesse
mr.bossman075 at gmail.com
Sun Feb 14 04:55:46 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 | 153 ++++++++++++++++++++++++++++++++++
3 files changed, 161 insertions(+)
create mode 100644 drivers/timer/imx-gpt-timer.c
---
V1->V2:
* Fixed indentation
* Fixed capitals
* Made timer work on only 24MHz clock
V2->V3:
* Fixed indentation
* Made implementation imatate the Linux kernel
* Fix wrong definition
V3->V4:
* Fixed indentation
* Made bit manipluation into its own function.
---
--
2.30.0
More information about the U-Boot
mailing list