I have trouble getting a stable clock output on CSI0_MCLK pin of imx6s .
When opening the device (I use cat /dev/video0 to test the signals) I expected a stable 24MHz clock. Instead I get a fading out clock with the amplitude looking like this:

At the beginning, the signal is looking like it supposed to, nice square wave. However it is quickly decaying and turning into a sign wave with small amplitude after 300 microseconds. The signal is routed to clock input pins of two image sensors. 1.8V power rail stays the same at 1.8V.
What could be causing the signal to behave like this?
Thank you.