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

Kane Jiang jian.jiang at nxp.com
Thu Mar 3 17:56:21 PST 2022


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@gmail.com/
https://lore.kernel.org/linux-arm-kernel/20191016010544.14561-3-slongerbeam@gmail.com/
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




More information about the linux-arm-kernel mailing list