[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220210084335.1979778-1-jian.jiang@nxp.com>
Date: Thu, 10 Feb 2022 16:43:32 +0800
From: Kane Jiang <jian.jiang@....com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Steve Longerbeam <slongerbeam@...il.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org
Cc: Kane Jiang <jian.jiang@....com>
Subject: [PATCH 0/3] About i.MX GPT input capture patches
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
Powered by blists - more mailing lists