[PATCH V2 0/2] About i.MX GPT input capture patches

From: Kane Jiang
Date: Thu Mar 03 2022 - 20:57:17 EST


The backgroud of this upstream is: I used to enable i.MX GPT input
capture function for i.MX8MM. And I found patches following from Steve:
https://lore.kernel.org/linux-arm-kernel/20191016010544.14561-2-slongerbeam@xxxxxxxxx/
https://lore.kernel.org/linux-arm-kernel/20191016010544.14561-3-slongerbeam@xxxxxxxxx/
After applied the patches and do some modification, GPT input capture
function was enabled in i.MX8MM. When checked in latest BSP, seems the
two patches are not included. I am not sure about the upstream status
initiated by Steve. So as a latercomer, I am doing this upsteam again.

---
V2:
- delete the patch for i.MX8MM example in yaml file because of lots of
warnings due to chips missing, will add to it later

Kane Jiang (1):
clocksource/drivers/timer-imx-gpt: Change to cyclecounter for GPT
input capture.

Steve Longerbeam (1):
clocksource/drivers/timer-imx-gpt: Support i.MX GPT input capture
function

drivers/clocksource/timer-imx-gpt.c | 480 +++++++++++++++++++++++++---
include/linux/mxc_icap.h | 16 +
2 files changed, 446 insertions(+), 50 deletions(-)
create mode 100644 include/linux/mxc_icap.h

--
2.25.1