xref: /openbmc/linux/sound/soc/Kconfig (revision be3ea3b9e8df64acb3606055c01291f0b58876a6)
1a3288176SLiam Girdwood#
2a3288176SLiam Girdwood# SoC audio configuration
3a3288176SLiam Girdwood#
4a3288176SLiam Girdwood
589fe5117STakashi Iwaimenuconfig SND_SOC
643a23389SLiam Girdwood	tristate "ALSA for SoC audio support"
71fc273b8STakashi Iwai	select SND_PCM
8db845374SMark Brown	select AC97_BUS if SND_SOC_AC97_BUS
98a2cd618SMark Brown	select SND_JACK if INPUT=y || INPUT=SND
10*be3ea3b9SMark Brown	select REGMAP_I2C if I2C
11*be3ea3b9SMark Brown	select REGMAP_SPI if SPI_MASTER
12a3288176SLiam Girdwood	---help---
13a3288176SLiam Girdwood
1443a23389SLiam Girdwood	  If you want ASoC support, you should say Y here and also to the
1543a23389SLiam Girdwood	  specific driver for your SoC platform below.
16a3288176SLiam Girdwood
1743a23389SLiam Girdwood	  ASoC provides power efficient ALSA support for embedded battery powered
1843a23389SLiam Girdwood	  SoC based systems like PDA's, Phones and Personal Media Players.
1943a23389SLiam Girdwood
2043a23389SLiam Girdwood	  This ASoC audio support can also be built as a module.  If so, the module
21a3288176SLiam Girdwood	  will be called snd-soc-core.
22a3288176SLiam Girdwood
2389fe5117STakashi Iwaiif SND_SOC
2489fe5117STakashi Iwai
2568d44ee0SMark Brownconfig SND_SOC_CACHE_LZO
2668d44ee0SMark Brown	bool "Support LZO compression for register caches"
2768d44ee0SMark Brown	select LZO_COMPRESS
2868d44ee0SMark Brown	select LZO_DECOMPRESS
2968d44ee0SMark Brown	---help---
3068d44ee0SMark Brown	   Select this to enable LZO compression for register caches.
3168d44ee0SMark Brown	   This will allow machine or CODEC drivers to compress register
3268d44ee0SMark Brown	   caches in memory, reducing the memory consumption at the
3368d44ee0SMark Brown	   expense of performance.  If this is not present and is used
3468d44ee0SMark Brown	   the system will fall back to uncompressed caches.
3568d44ee0SMark Brown
3668d44ee0SMark Brown	   Usually it is safe to disable this option, where cache
3768d44ee0SMark Brown	   compression in used the rbtree option will typically perform
3868d44ee0SMark Brown	   better.
3968d44ee0SMark Brown
4089fe5117STakashi Iwaiconfig SND_SOC_AC97_BUS
4189fe5117STakashi Iwai	bool
4289fe5117STakashi Iwai
430b34a3d0SMark Brown# All the supported SoCs
446c742509SSedji Gaouaousource "sound/soc/atmel/Kconfig"
454a161d23SManuel Lausssource "sound/soc/au1x/Kconfig"
460b34a3d0SMark Brownsource "sound/soc/blackfin/Kconfig"
470b34a3d0SMark Brownsource "sound/soc/davinci/Kconfig"
48db5bf412SRyan Mallonsource "sound/soc/ep93xx/Kconfig"
490b34a3d0SMark Brownsource "sound/soc/fsl/Kconfig"
5029e02cb3SMark Brownsource "sound/soc/imx/Kconfig"
519af83810SMark Brownsource "sound/soc/jz4740/Kconfig"
521082e270SWan ZongShunsource "sound/soc/nuc900/Kconfig"
530b34a3d0SMark Brownsource "sound/soc/omap/Kconfig"
54f9b95980Sapatard@mandriva.comsource "sound/soc/kirkwood/Kconfig"
55e62255f2SVinod Koulsource "sound/soc/mid-x86/Kconfig"
56734c2d4bSLiam Girdwoodsource "sound/soc/pxa/Kconfig"
575033f43cSJassi Brarsource "sound/soc/samsung/Kconfig"
584b166da9SDaniel Glöcknersource "sound/soc/s6000/Kconfig"
59aef3b06aSManuel Lausssource "sound/soc/sh/Kconfig"
608b75d714SStephen Warrensource "sound/soc/tegra/Kconfig"
61e24805ddSAtsushi Nemotosource "sound/soc/txx9/Kconfig"
628dafc0fbSFrank Mandarino
637f137ab6SRichard Purdie# Supported codecs
647f137ab6SRichard Purdiesource "sound/soc/codecs/Kconfig"
657f137ab6SRichard Purdie
6689fe5117STakashi Iwaiendif	# SND_SOC
6789fe5117STakashi Iwai
68