ASOC machine driver example to iMX8MM or any iMX family processors

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

ASOC machine driver example to iMX8MM or any iMX family processors

Jump to solution
1,436 Views
sreedhar_appala
Contributor IV

Hi,

 

I am working with iMX8MM EVK and Yocto distribution 4.19.35 version

 

Build Configuration:
BB_VERSION = "1.42.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.19-warrior"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""

we have interfaced another SoC to iMX8MM EVK using i2c interface. this SoC contains a voice audio codec.

we have developed a ASOC machine driver for this scenario, i am evaluating the same and having some issues.

I feel it is better to have a look at any reference machine driver for this kind will help me in solving the issues i am facing.

I would like to look at any reference of similar kind of audio codec which is part of SoC and interfaced to iMX8MM or any iMX family of processors through any interface will help my purpose.

could you please point me to any of such kind in kernel.

Thank you,

Sreedhar

0 Kudos
1 Solution
1,376 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

for such case one can consider simple-audio-card:

SAI on i.MX8M Mini 

Best regards
igor

View solution in original post

0 Kudos
4 Replies
1,376 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

one can look at description in Chapter 7 Audio sect.7.1 Advanced Linux Sound

Architecture (ALSA) System on a Chip (ASoC) Sound in  i.MX Linux Reference Manual

and all linux documentation on

Embedded Linux for i.MX Applications Processors | NXP 

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

0 Kudos
1,376 Views
sreedhar_appala
Contributor IV

Hi igor,

Thank you for the quick reply. I knew and read this documentation.

Our interface is iMX8MM  SAI (I2S)  <====> Another SoC(I2S) interface, It is a Voice based Processing Chip.

There is no codec here. Does NXP platforms of any has such interface and possibly drivers for these, that can help me as a reference.

Thank you once again,

Sreedhar

0 Kudos
1,377 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

for such case one can consider simple-audio-card:

SAI on i.MX8M Mini 

Best regards
igor

0 Kudos
1,376 Views
sreedhar_appala
Contributor IV

Thank you igor,

I will check the simple audio card, I found a driver imx-dsp.c (Machine driver for Tensilica DSP)

sound/soc/fsl/imx-dsp.c

I will check both, that should help me.

Thanks once again,

Sreedhar

0 Kudos