Commit 1291e141 authored by Mark Brown's avatar Mark Brown

ASoC: codecs: Make OF supported CODECs visible in Kconfig

Now that we have a generic card driver we can't rely on the card driver
selecting the CODECs for us so make the CODECs that can be enabled with
OF directly selectable in Kconfig. For the platforms not using OF it's
not clear that we don't still want to have some board specific selection
since the kernel needs to contain code to register the devices; ACPI could
provide this from firmware does not yet support any kind of generic card.

It may also be desirable to hide these if OF is not enabled to reduce
noise.
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 0d724f8a
...@@ -190,8 +190,9 @@ config SND_SOC_AD73311 ...@@ -190,8 +190,9 @@ config SND_SOC_AD73311
tristate tristate
config SND_SOC_ADAU1701 config SND_SOC_ADAU1701
tristate "Analog Devices ADAU1701 CODEC"
depends on I2C
select SND_SOC_SIGMADSP select SND_SOC_SIGMADSP
tristate
config SND_SOC_ADAU1373 config SND_SOC_ADAU1373
tristate tristate
...@@ -203,28 +204,31 @@ config SND_SOC_ADS117X ...@@ -203,28 +204,31 @@ config SND_SOC_ADS117X
tristate tristate
config SND_SOC_AK4104 config SND_SOC_AK4104
tristate tristate "AKM AK4104 CODEC"
depends on SPI_MASTER
config SND_SOC_AK4535 config SND_SOC_AK4535
tristate tristate
config SND_SOC_AK4554 config SND_SOC_AK4554
tristate tristate "AKM AK4554 CODEC"
config SND_SOC_AK4641 config SND_SOC_AK4641
tristate tristate
config SND_SOC_AK4642 config SND_SOC_AK4642
tristate tristate "AKM AK4642 CODEC"
depends on I2C
config SND_SOC_AK4671 config SND_SOC_AK4671
tristate tristate
config SND_SOC_AK5386 config SND_SOC_AK5386
tristate tristate "AKM AK5638 CODEC"
config SND_SOC_ALC5623 config SND_SOC_ALC5623
tristate tristate
config SND_SOC_ALC5632 config SND_SOC_ALC5632
tristate tristate
...@@ -235,14 +239,17 @@ config SND_SOC_CS42L51 ...@@ -235,14 +239,17 @@ config SND_SOC_CS42L51
tristate tristate
config SND_SOC_CS42L52 config SND_SOC_CS42L52
tristate tristate "Cirrus Logic CS42L52 CODEC"
depends on I2C
config SND_SOC_CS42L73 config SND_SOC_CS42L73
tristate tristate "Cirrus Logic CS42L73 CODEC"
depends on I2C
# Cirrus Logic CS4270 Codec # Cirrus Logic CS4270 Codec
config SND_SOC_CS4270 config SND_SOC_CS4270
tristate tristate "Cirrus Logic CS4270 CODEC"
depends on I2C
# Cirrus Logic CS4270 Codec VD = 3.3V Errata # Cirrus Logic CS4270 Codec VD = 3.3V Errata
# Select if you are affected by the errata where the part will not function # Select if you are affected by the errata where the part will not function
...@@ -253,7 +260,8 @@ config SND_SOC_CS4270_VD33_ERRATA ...@@ -253,7 +260,8 @@ config SND_SOC_CS4270_VD33_ERRATA
depends on SND_SOC_CS4270 depends on SND_SOC_CS4270
config SND_SOC_CS4271 config SND_SOC_CS4271
tristate tristate "Cirrus Logic CS4271 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_CX20442 config SND_SOC_CX20442
tristate tristate
...@@ -284,6 +292,9 @@ config SND_SOC_BT_SCO ...@@ -284,6 +292,9 @@ config SND_SOC_BT_SCO
config SND_SOC_DMIC config SND_SOC_DMIC
tristate tristate
config SND_SOC_HDMI_CODEC
tristate "HDMI stub CODEC"
config SND_SOC_ISABELLE config SND_SOC_ISABELLE
tristate tristate
...@@ -302,14 +313,13 @@ config SND_SOC_MAX98095 ...@@ -302,14 +313,13 @@ config SND_SOC_MAX98095
config SND_SOC_MAX9850 config SND_SOC_MAX9850
tristate tristate
config SND_SOC_HDMI_CODEC
tristate
config SND_SOC_PCM1681 config SND_SOC_PCM1681
tristate tristate "Texas Instruments PCM1681 CODEC"
depends on I2C
config SND_SOC_PCM1792A config SND_SOC_PCM1792A
tristate tristate "Texas Instruments PCM1792A CODEC"
depends on SPI_MASTER
config SND_SOC_PCM3008 config SND_SOC_PCM3008
tristate tristate
...@@ -322,7 +332,8 @@ config SND_SOC_RT5640 ...@@ -322,7 +332,8 @@ config SND_SOC_RT5640
#Freescale sgtl5000 codec #Freescale sgtl5000 codec
config SND_SOC_SGTL5000 config SND_SOC_SGTL5000
tristate tristate "Freescale SGTL5000 CODEC"
depends on I2C
config SND_SOC_SI476X config SND_SOC_SI476X
tristate tristate
...@@ -335,7 +346,7 @@ config SND_SOC_SN95031 ...@@ -335,7 +346,7 @@ config SND_SOC_SN95031
tristate tristate
config SND_SOC_SPDIF config SND_SOC_SPDIF
tristate tristate "S/PDIF CODEC"
config SND_SOC_SSM2518 config SND_SOC_SSM2518
tristate tristate
...@@ -353,7 +364,8 @@ config SND_SOC_STAC9766 ...@@ -353,7 +364,8 @@ config SND_SOC_STAC9766
tristate tristate
config SND_SOC_TAS5086 config SND_SOC_TAS5086
tristate tristate "Texas Instruments TAS5086 speaker amplifier"
depends on I2C
config SND_SOC_TLV320AIC23 config SND_SOC_TLV320AIC23
tristate tristate
...@@ -366,7 +378,8 @@ config SND_SOC_TLV320AIC32X4 ...@@ -366,7 +378,8 @@ config SND_SOC_TLV320AIC32X4
tristate tristate
config SND_SOC_TLV320AIC3X config SND_SOC_TLV320AIC3X
tristate tristate "Texas Instruments TLV320AIC3x CODECs"
depends on I2C
config SND_SOC_TLV320DAC33 config SND_SOC_TLV320DAC33
tristate tristate
...@@ -415,55 +428,69 @@ config SND_SOC_WM8400 ...@@ -415,55 +428,69 @@ config SND_SOC_WM8400
tristate tristate
config SND_SOC_WM8510 config SND_SOC_WM8510
tristate tristate "Wolfson Microelectronics WM8510 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8523 config SND_SOC_WM8523
tristate tristate "Wolfson Microelectronics WM8523 DAC"
depends on I2C
config SND_SOC_WM8580 config SND_SOC_WM8580
tristate tristate "Wolfson Microelectronics WM8523 CODEC"
depends on I2C
config SND_SOC_WM8711 config SND_SOC_WM8711
tristate tristate "Wolfson Microelectronics WM8711 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8727 config SND_SOC_WM8727
tristate tristate
config SND_SOC_WM8728 config SND_SOC_WM8728
tristate tristate "Wolfson Microelectronics WM8728 DAC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8731 config SND_SOC_WM8731
tristate tristate "Wolfson Microelectronics WM8731 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8737 config SND_SOC_WM8737
tristate tristate "Wolfson Microelectronics WM8737 ADC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8741 config SND_SOC_WM8741
tristate tristate "Wolfson Microelectronics WM8737 DAC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8750 config SND_SOC_WM8750
tristate tristate "Wolfson Microelectronics WM8750 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8753 config SND_SOC_WM8753
tristate tristate "Wolfson Microelectronics WM8753 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8770 config SND_SOC_WM8770
tristate tristate "Wolfson Microelectronics WM8770 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8776 config SND_SOC_WM8776
tristate tristate "Wolfson Microelectronics WM8776 CODEC"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8782 config SND_SOC_WM8782
tristate tristate
config SND_SOC_WM8804 config SND_SOC_WM8804
tristate tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver"
depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8900 config SND_SOC_WM8900
tristate tristate
config SND_SOC_WM8903 config SND_SOC_WM8903
tristate tristate "Wolfson Microelectronics WM8903 CODEC"
depends on I2C
config SND_SOC_WM8904 config SND_SOC_WM8904
tristate tristate
...@@ -481,7 +508,8 @@ config SND_SOC_WM8961 ...@@ -481,7 +508,8 @@ config SND_SOC_WM8961
tristate tristate
config SND_SOC_WM8962 config SND_SOC_WM8962
tristate tristate "Wolfson Microelectronics WM8962 CODEC"
depends on I2C
config SND_SOC_WM8971 config SND_SOC_WM8971
tristate tristate
...@@ -554,4 +582,5 @@ config SND_SOC_ML26124 ...@@ -554,4 +582,5 @@ config SND_SOC_ML26124
tristate tristate
config SND_SOC_TPA6130A2 config SND_SOC_TPA6130A2
tristate tristate "Texas Instruments TPA6130A2 headphone amplifier"
depends on I2C
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment