CS4244 Linux driver code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CS4244 Linux driver code

968 Views
chandrashekharv
Contributor II

Hi ,

Please help which is the driver for CS4244. In latest source code (kernel version 4.1.15-00004-gbca563a-dirty) I do not find support for CS4244 audio codec.

Rgds

Chandra

Labels (2)
0 Kudos
2 Replies

661 Views
art
NXP Employee
NXP Employee

NXP by itself does not provide any support for the CS4244 audio codec in the Linux BSP. You can modify the existing audio driver to support the CS4244 codec or ask some 3rd party vendor for driver.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

661 Views
chandrashekharv
Contributor II

Hi ,

I decided to write the driver for CS4244. But I am unable to read probe for the CS4244 chip from CS42xx8 driver , please help, my device CS4244 is connected at address 0x10. From I2c-tool i am able to access the register. Is there an issue with current cs42xx8 driver.

root@imx6qdlsolo:~# dmesg | grep -i cs42*
[ 2.544342] cs42xx8 2-0010: failed to get device ID, ret = -5 val=0
[ 2.549318] cs42xx8 2-0010: cs42xx8_probe AM I HERE !!!!!!!!!
[ 2.554005] cs42xx8: probe of 2-0010 failed with error -5
[ 2.600085] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 2.605799] imx-cs42888: probe of sound-cs42888 failed with error -22
root@imx6qdlsolo:~# i2cdetect 2
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@imx6qdlsolo:~# i2cdetect 2
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@imx6qdlsolo:~# i2cdump 2 0x10
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2, address 0x10, mode byte
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 42 34 00 00 b0 04 ff 48 01 ff ff ff ff 00 c0 .B4..??.H?.....?
10: ff e0 e0 e0 bf 1f 87 10 10 10 10 10 10 ba 40 10 .?????????????@?
20: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...............
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 42 34 00 00 b0 04 ff 48 01 ff ff ff ff 00 c0 .B4..??.H?.....?
90: ff e0 e0 e0 bf 1f 87 10 10 10 10 10 10 ba 40 10 .?????????????@?
a0: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...............
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
root@imx6qdlsolo:~#

0 Kudos