GPIO_0 at imx6dl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPIO_0 at imx6dl

577 Views
bordonkuo
Contributor II

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".

Labels (1)
0 Kudos
2 Replies

391 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 Kudos

391 Views
bordonkuo
Contributor II

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

0 Kudos