AnsweredAssumed Answered

about IMX6Q CSI0_MCLK PIN clock

Question asked by 增谋 邢 on May 9, 2018
Latest reply on May 9, 2018 by 增谋 邢

I use cpu is imx6q, system is android5.1, and now  i use CSI0_MCLK pin to connect codec sgtl5000 sys_mclk pin,  and make CSI0_MCLK  output 24MHz clock, my dts bellow:

codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
clocks = <&clks IMX6QDL_CLK_CKO>;
VDDA-supply = <&reg_audio>;
VDDIO-supply = <&reg_audio>;
VDDD-supply = <&reg_audio>;
gpio-pwr = <&gpio5 30 1>;


sgtl5000.c driver ret = clk_prepare_enable(sgtl5000->mclk);  it's opened, but has no clock ouput, why ?   clocks = <&clks IMX6QDL_CLK_CKO>; is 24MHz is correctly,  but CSI0_MCLK pin has no clock output. sos!!!!!!