TI中文支持网
TI专业的中文技术问题搜集分享网站

DRA744: how to set the DRA74X mcasp1 on TDM slave mode

Part Number:DRA744

DRA74X mcasp1 is  TDM master mode now , I want set it slave mode ,how to  modify?  i  modfy is on the following, Whether it is right

{
sound0: sound0 {
compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-EVM";
//simple-audio-card,mclk-fs = <256>;

simple-audio-card,dai-link@0 {
format = "i2s";

//frame-master = <&iis1_cpu>;
//bitclock-master = <&iis1_cpu>;
frame-master = <&iis1_codec>;
bitclock-master = <&iis1_codec>;
iis1_cpu: cpu {
sound-dai = <&mcasp1>;
system-clock-frequency = <11289600>;
//system-clock-frequency = <12288000>;
};
iis1_codec: codec {
sound-dai = <&ak7738 0>;
clocks = <&atl_clkin2_ck>;
};
};

simple-audio-card,dai-link@1 {
format = "i2s";
frame-master = <&iis2_codec>;
bitclock-master = <&iis2_codec>;
iis2_cpu: cpu {
sound-dai = <&mcasp3>;
//system-clock-frequency = <11289600>;
//system-clock-frequency = <12288000>;
};
iis2_codec: codec {
sound-dai = <&ak7738 1>;
//clocks = <&atl_clkin2_ck>;
};
};
};

ak7738: ak7738-customized {
#sound-dai-cells = <1>;
compatible = "asahi-kasei,ak7738";
};
/delete-node/jamr3_sound;
};

Shine:

请问硬件上mcasp时钟改成由外部时钟提供的吗?dts里把mcasp时钟管脚设成输入。

赞(0)
未经允许不得转载:TI中文支持网 » DRA744: how to set the DRA74X mcasp1 on TDM slave mode
分享到: 更多 (0)