[PATCH] clocksource/drivers/imx: add input capture support

2018-05-31 Thread Fabio Estevam
From: Steve Longerbeam 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. The input capture API

[PATCH] clocksource/drivers/imx: add input capture support

2018-05-31 Thread Fabio Estevam
From: Steve Longerbeam 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. The input capture API