Dear all
I want to carete the 24MHz from ping GPIO_0 based on imx6dl.
I modify the pinmux setting
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x1b0b0
And I use the mclk 24 MHze for wm8960
codec: wm8960@1a {
compatible = "wlf,wm8960";
reg = <0x1a>;
clocks = <&clks IMX6QDL_CLK_CKO>;
clock-names = "mclk";
mclk = <24000000>;
mclk_source = <0>;
wlf,shared-lrclk;
};
But it always cannot get the 24MHz, and show the error message "ASoC: HiFi startup failed: -16".
Hello bordon,
Open arch/arm/boot/dts/imx6qdl-sabresd.dtsi, you will find GPIO_0 has been multiplexed as MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
So you don't need to modify it's IOMUX, use it directly,please! 24MHz clock should be no problem.
Best regards,
Weidong
Dear Wigros
Yes, I modify it and the value change 0x130b0. But I cannot see the 24MHz clock on GPIO_0 pin.
Do I miss something ?
Thanks