Tool/software:
Hi team,
Question description:
Bclk and fclk from external clk, 4 data line receive data.
How to modify the device trees? Sample rate=48K word-size=32bit 2ch/per date line
&mcasp0 {
pinctrl-names = "default";
pinctrl-0 = <&main_mcasp0_pins_default>;
op-mode = <0>; /* I2S mode */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
2 2 0 0
0 0 0 0
0 0 0 0
0 0 0 0
>;
tdm-slots = <2>;
rx-num-evt = <0>;
tx-num-evt = <0>;
#sound-dai-cells = <0>;
status = "okay";
};
sound_master: pdm-to-i2s {
#sound-dai-cells = <0>;
compatible = "adi,adau7002";
};
codec_audio: sound {
compatible = "simple-audio-card";
simple-audio-card,name = "AM62x-SKEVM";
simple-audio-card,format = "dsp_b";
simple-audio-card,bitclock-master = <&sound_master>;
simple-audio-card,frame-master = <&sound_master>;
simple-audio-card,dai-link@0 {
cpu {
sound-dai = <&mcasp0>;
};
codec {
sound-dai = <&sound_master>;
};
};
};