This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCASP configuration in GLSDK7.0(3.14 kernel)

Other Parts Discussed in Thread: TLV320AIC3106

Hi,

I am working on 3.14 Kernel of GLSDK7.0 for our customized board. I have checked the device tree for VAYU board, following the entry for soundin VAY U board, it seems the clock is configured for codec.

primary_sound: primary_sound {
compatible = "ti,dra7xx-evm-audio";
ti,model = "DRA7xx-EVM";
ti,always-on;
ti,audio-codec = <&tlv320aic3106>;
ti,mcasp-controller = <&mcasp3>;
ti,codec-clock-rate = <11289600>;
clocks = <&atl_clkin2_ck>;
clock-names = "mclk";
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"Line Out", "LLOUT",
"Line Out", "RLOUT",
"MIC3L", "Mic Jack",
"MIC3R", "Mic Jack",
"Mic Jack", "Mic Bias",
"LINE1L", "Line In",
"LINE1R", "Line In";
};

In our customized board we don't have any codec, we can configure clock to MCASP in device tree without codec?

 

  • Hi Kumar,

    Kumar Kumar said:
    In our customized board we don't have any codec,

    Are you planning to use MCASP in your design?

    In general, yes you could configure the internal PRCM functional and interface clocks that source the MCASP, so that you could read/write to its registers. You can also configure the registers that control the transmit & receive clocks, but if you are not planning to utilize the IP i don't see why would you need to do that.

    Best Regards,

     Yordan

  • Hello Kumar,

    The definitions for TLV320AIC3106 are available, because it might connect an external board - JAMR 3 APPLICATION BOARD to VAYU board. This board is designed for audio processing.

    In our customized board we don't have any codec, we can configure clock to MCASP in device tree without codec?

    - Yes, you can configure McASP's PRCM clock and Control Module's Pad configuration without codec. For more information see in Chapter 3 PRCM in device's TRM.

    Best regards,

    Yanko

     

  • Thanks for the reply. I am using MCASP in our customized.

    I have configured MCASP, with the following device tree configuration it is working fine.

    compatible = "ti,dra7xx-evm-audio";
    ti,model = "DRA7xx-EVM";
    ti,always-on;
    ti,audio-codec = <&dummy_codec>;
    ti,mcasp-controller = <&mcasp3>;
    clocks = <&atl_clkin2_ck>;
    clock-names = "mclk";