Re: Cirrus Logic CS42L52 Low power codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Austin wrote:

> Since the codecs are not tied to the machine, the user must then add to the Kconfig of the 
> ARCH to select which codec they want to use?

Yes.  For most ASoC V1 platforms, the use selects a Kconfig for his platform, 
and *that* Kconfig selects the codec.  Example:

config SND_SOC_MPC8610_HPCD
         bool "ALSA SoC support for the Freescale MPC8610 HPCD board"
         depends on SND_SOC_MPC8610
         select SND_SOC_CS4270
	^^^^^^^^^^^^^^^^^^^^^

> If the codec isn't tied to the machine, why can't we select from a list of supported codecs?
> Just trying to get a better understanding of how this works.

The codec is not tied to the machine, but the machine is tied to the codec.

That is, in ASoC V1, the machine driver must know about the codec driver at 
compile time.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux