I'm porting ES8316 on imx6q now. Then I already porting driver done and use application to use audio codec, but I found I don't have MCLK signal on my scope.I already looked for information on internet and try to modify imx6qdl-sabresd.dtsi. But it still failed. Attachments are my used code. Please help me to solve this problem,thanks a lot.
pin connect
Hi Ling
one can check record MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
in dts file linux/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
linux-imx.git - i.MX Linux Kernel
and clko configuration in clk-imx6q.c
linux-imx.git - i.MX Linux Kernel
in hardware check schematic for pad GPIO_0, GPIO_0_CLKO
p.3 spf-27392 i.MX6Q Sabre SD schematic
Schematics (1)
i.MX6_SABRE_SDP_DESIGNFILES
http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/s...
Also one can attach jtag and check clko settings in register CCM_CCOSR.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------