WM8510 audio codec with i.MX6 and Freescale Kernel

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

WM8510 audio codec with i.MX6 and Freescale Kernel

1,693 Views
frsc
Contributor I

Hi,

I want to use the WM8510 audio codec with an i.MX6 (connected via AUD5 I2S and I2C) and Freescale Kernel (3.10.31). I can see that there is a codec driver available for the WM8510 in sound/soc/codecs, but it seems like there is no machine driver.

On the mainline kernel, there is fsl-asoc-card or simple-card as machine driver, but I can't see anything similar in the Freescale kernel.

How can I get this working?

Thanks for any help!

Labels (4)
Tags (3)
0 Kudos
Reply
3 Replies

815 Views
igorpadykov
NXP Employee
NXP Employee

Hi F Schrempf

it may be helpful to look at attached Porting Guide sect.

Chapter 8 Porting Audio Codecs to a Custom Board

and Linux Manual sect. 29.4.1 ASoC Driver Source Architecture

from L3.10.17_1.0.0_LINUX_DOCS

Best regards

igor

0 Kudos
Reply

815 Views
saurabh206
Senior Contributor III

Hi

Freescale supports WM8962.

You can study imx-wm8962.

Compare the different between two interface and write your driver.

Thanks

Saurabh

0 Kudos
Reply

815 Views
fabio_estevam
NXP Employee
NXP Employee

You would need to write a machine driver for 3.10.31 (sound/soc/fsl/imx-wm8510.c)

Or if you decide to go to mainline, then you can use the generic fsl-asoc-card or simple-card, as you mentioned.

Regards,

Fabio Estevam

0 Kudos
Reply