Skip to contentSkip to conversation

i.MX6: EPIT timer as a clock for an external device?

DISCUSSION Krzysztof Hałasa 1 participant 1 message Jan 8, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using an i.MX6 design with the CCM_CLKO1 / EPIT1_OUT / GPIO1_IO00 pad used as a clock for an external device. I can't use the CLKO1 function which is basically fixed at 24 MHz, I need much slower clock (below 2 MHz). I have verified EPIT1 can provide it for me on this pad by using the IPG (peripheral clock) with a specific divider.

I think there is no software support for such setup at this time. The question is, how should it be done? Should I add the relevant code to the drivers/clk/imx/ infrastructure? What about the upcoming EPIT timer driver?

Signature · 9 lines
Krzysztof Halasa

Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel