Hi,
I have im8qxp-mek (REV C1) and and trying to play some audio through sound card imx-aud-io with no results.
I'm working with the "wayland / imx-image-full".
I've connected imx-aud-io to the baseboard board, using AUDIO SLOT 1. I've learned that the correct codec to use is CS42888, in order to play audio on the sound card.
During boot, I read this:
3.344040] debugfs: Directory '59050000.sai' with parent 'wm8960-audio' already present!
[ 3.351309] imx6q-pcie 5f010000.pcie: IO 0x7ff80000..0x7ff8ffff -> 0x00000000
[ 3.359597] imx-wm8960 sound-wm8960: wm8960-hifi <-> 59050000.sai mapping ok
[ 3.366888] imx6q-pcie 5f010000.pcie: MEM 0x70000000..0x7fefffff -> 0x70000000
[ 3.373975] imx-wm8960 sound-wm8960: ASoC: no DMI vendor name!
[ 3.554104] it6263 17-004c: Probe failed. Remote port 'lvds-channel@0' disabled
[ 3.617144] it6263 18-004c: Probe failed. Remote port 'lvds-channel@0' disabled
[ 3.625854] OF: graph: no port node found in /bus@5a000000/i2c-rpbus-1/tcpc@50
[ 3.661204] cs42xx8 5-0048: failed to get device ID, ret = -1
[ 3.667255] cs42xx8: probe of 5-0048 failed with error -1
According to this, when I execute aplay -L, I get:
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=imxaudmix
imx-audmix,
Default Audio Device
sysdefault:CARD=btscoaudio
bt-sco-audio,
Default Audio Device
sysdefault:CARD=wm8960audio
wm8960-audio,
Default Audio Device
Also, I can correctly play audio using wm8960 codec.
Do you have any ideas? Am I missing something?
From the log,
[ 3.661204] cs42xx8 5-0048: failed to get device ID, ret = -1
[ 3.667255] cs42xx8: probe of 5-0048 failed with error -1
Not able to detect the CS42xx8, Please check I2C node port/pin mux configuration, in the dts file
and use I2Ctool to verify it from user space, On which I2C port you will get the CS42xx8 (address:0x48)