Hi Shenghao Ding,
I try to aplay wav file by command aplay test.wav,
But the aplay test.wav will show "conf_no should be not more than 2", and There is no sound output on the speaker.
Could you help us to check message "conf_no should be not more than 2" , Thanks.
Load driver:
# insmod /lib/modules/5.4.238/kernel/sound/soc/codecs/snd-soc-tasdevice.ko
[ 22.852338] tasdevice-codec 2-0048: Primary-device = 0x48
[ 22.857793] tasdevice-codec 2-0048: Looking up irq-gpio property failed -22
[ 22.866894] tasdevice-codec 2-0048: tasdev: regbin_ready start
# [ 22.874204] tasdevice-codec 2-0048: nconfig = 2
[ 22.878751] tasdevice-codec 2-0048: img_sz = 516 total_config_sz = 224 offset = 292
[ 22.886427] tasdevice-codec 2-0048: Firmware init complete
[ 22.893753] asoc-simple-card sound: tasdevice-codec.2-0048 <-> e001d000.i2s mapping ok
[ 22.902475] asoc-simple-card sound: e0015000.dmic <-> e001d000.i2s mapping ok
[ 22.909618] asoc-simple-card sound: ASoC: no DMI vendor name!
#
aplay:
# aplay test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000[ 28.046473] simple-card: Ambarella fix DAI clock at 12288000.
Hz, Stereo
[ 28.054290] tasdevice-codec 2-0048: tasdevice_set_dai_sysclk: clk_id = 0, freq = 12288000, CLK direction IN
[ 28.065658] tasdevice-codec 2-0048: tasdevice_hw_params: Playback
[ 28.072244] tasdevice-codec 2-0048: tasdevice_hw_params: BCLK rate = 1536000 Channel = 2Sample rate = 48000 slot width = 16
[ 28.107863] tasdevice-codec 2-0048: powercontrol_routine:1021: enter
[ 28.114251] tasdevice-codec 2-0048: conf_no should be not more than 2
[ 28.120746] tasdevice-codec 2-0048: powercontrol_routine:1030: leave
[ 30.088538] tasdevice-codec 2-0048: conf_no should be not more than 2
[ 30.095023] tasdevice-codec 2-0048: tasdevice_set_dai_sysclk: clk_id = 0, freq = 0, CLK direction IN
#