AnsweredAssumed Answered

Issue in configuration of GPIO1_IO14 as CLKO1 20 MHZ clock source

Question asked by parth modi on Dec 20, 2018
Latest reply on Dec 28, 2018 by parth modi



We are working on imx8mq evk board and Linux 4.14 kernel distro. We want to configure GPIO1_IO14 pin as CLKO1 pin.We want to generate 20 MHz from this pin for ov5640 camera.In imx8mq-evk.dts file for OV5640 camera you have used CLKO2 pin as clock source.


But we want to change it from CLKO2 to CLKO1. We found there is no clock implementation for CLKO1 clock in imx8mq-clock.h and clk-imx8mq.c. 


When i probed this pin it is always give 25 Mhz clock.


How to configure CLKO1 pin for imx8mq-evk board?

Is there any patches related to clock source CLKO1.

Please let us know if you need further information.