devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] About i.MX GPT input capture patches
@ 2022-02-10  8:43 Kane Jiang
  2022-02-10  8:43 ` [PATCH 1/3] This patch adds support for the input capture function in the i.MX GPT. Output compare and input capture functions are mixed in the same register block, so we need to modify the irq ack/enable/ disable primitives to not stomp on the other function Kane Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kane Jiang @ 2022-02-10  8:43 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Steve Longerbeam, linux-kernel, linux-arm-kernel, Rob Herring,
	devicetree
  Cc: Kane Jiang

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.

Kane Jiang (2):
  Change to cyclecounter for GPT input capture. Add support for i.MX8MM.
  Add i.MX8MM GPT input capture example.

Steve Longerbeam (1):
  This patch adds support for the input capture function in the i.MX
    GPT. Output compare and input capture functions are mixed in the
    same register block, so we need to modify the irq ack/enable/
    disable primitives to not stomp on the other function.

 .../devicetree/bindings/timer/fsl,imxgpt.yaml |  48 ++
 drivers/clocksource/timer-imx-gpt.c           | 482 ++++++++++++++++--
 include/linux/mxc_icap.h                      |  16 +
 3 files changed, 496 insertions(+), 50 deletions(-)
 create mode 100644 include/linux/mxc_icap.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-17  0:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-10  8:43 [PATCH 0/3] About i.MX GPT input capture patches Kane Jiang
2022-02-10  8:43 ` [PATCH 1/3] This patch adds support for the input capture function in the i.MX GPT. Output compare and input capture functions are mixed in the same register block, so we need to modify the irq ack/enable/ disable primitives to not stomp on the other function Kane Jiang
2022-02-10  8:43 ` [PATCH 2/3] Change to cyclecounter for GPT input capture. Add support for i.MX8MM Kane Jiang
2022-02-10  8:43 ` [PATCH 3/3] Add i.MX8MM GPT input capture example Kane Jiang
2022-02-10 14:47   ` Rob Herring
2022-02-11  8:40     ` [EXT] " Kane Jiang
2022-02-17  0:24       ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).