From: Jesse Date: Thu, 11 Feb 2021 20:11:50 -0500 Subject: [PATCH v3 0/1] timer: imx-gpt: Add timer support for i.MX SoCs family Message-ID: <20210212011151.231171-1-mr.bossman075@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Jesse Taube 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