ASoC machine driver for CX20721 codec

67 views
Skip to first unread message

TitusRathinaraj Stalin

unread,
Oct 8, 2017, 10:52:52 PM10/8/17
to >warpx.io

Hello,


I have interfaced the CX20721 codec into warpx 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


Can you please help me to solve this issue ?

What could be the problem ?

imx-cx20721.c
imx-cx20721_type2.c

TitusRathinaraj Stalin

unread,
Oct 8, 2017, 10:57:51 PM10/8/17
to >warpx.io
Reply all
Reply to author
Forward
0 new messages