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.