Hi
I am currently trying to integrate a TLV320ADC3140 with a Renesas RZ/G2L MPU running a 5.10 linux kernel.
My issue is, that i can only record from channel 1.
The kernel is compiled with :
to include drivers for the ADC.
In the device tree file I have configured the ADC as shown in the following snipper:
audio_mclock: audio_mclock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <11289600>;
};
tlv320_snd: sound {
compatible = "simple-audio-card";
simple-audio-card,widgets = "Microphone", "Mic";
simple-audio-card,routing =
"MIC1P", "Mic",
"MIC1M", "Mic",
"MIC2P", "Mic",
"MIC2M", "Mic",
"MIC3P", "Mic",
"MIC3M", "Mic",
"MIC4P", "Mic",
"MIC4M", "Mic";
simple-audio-card,dai-link@0{
format = "i2s";
bitclock-master = <&cpu_dai>;
frame-master = <&cpu_dai>;
mclk-fs = <256>;
cpu_dai: cpu {
sound-dai = <&ssi0>;
};
codec_dai: codec {
sound-dai = <&tlv320adc3140>;
};
};
};
When recording from the ADC I am using the following command:
sudo arecord -vv -d 1 -D default -f dat -c 4 -t wav test.wav
This only shows signal on one channel.