AnsweredAssumed Answered

ASoC machine driver for CX20721 codec

Question asked by Titus Stalin on Oct 8, 2017
Latest reply on Oct 9, 2017 by igorpadykov

Hello Experts,

I have interfaced the CX20721 codec into my imx6 board.

Codec driver used:

rpi-linux/cx2072x.c at cnxt-rpi-4.4.y · conexant/rpi-linux · GitHub 

 

And I have used the following ASoC machine driver (raspberry pi ASoC machine driver) for my imx6 platform.

driverpatch/0006-ASoC-Add-Mahine-driver-for-SmartSpeaker-I2S.patch at master · conexant/driverpatch · GitHub 

 

Attached the modified machine driver (two types).

1. Based on Raspberry pi ASoC machine driver.

2. Based on imx-sgtl5000.c machine driver.

 

Getting the following errors:

[    2.636502] cx2072x 2-0033: cx2072x_i2c_probe: Register codec.
[    2.641330] cxsmtspk-audio-i2s sound: ASoC: CODEC DAI cx2072x-dsp not registered
[    2.647532] cxsmtspk-audio-i2s sound: snd_soc_register_card failed (-517)
[    2.738449] cxsmtspk-audio-i2s sound: ASoC: CODEC DAI cx2072x-dsp not registered
[    2.744680] cxsmtspk-audio-i2s sound: snd_soc_register_card failed (-517)
[    2.761795] cxsmtspk-audio-i2s sound: ASoC: CODEC DAI cx2072x-dsp not registered
[    2.768713] cxsmtspk-audio-i2s sound: snd_soc_register_card failed (-517)

 

imx-cx20721.c -> Based on Raspberry pi ASoC machine driver.

imx-cx20721_type2.c -> Based on imx-sgtl5000.c 

 

Here is the reference:

GitHub - CNXT-Jerry/CX2072X 

CX2072X/doc at master · CNXT-Jerry/CX2072X · GitHub 

Original Attachment has been moved to: imx-cx20721_type2.c.zip

Original Attachment has been moved to: imx-cx20721.c.zip

Outcomes