diff options
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 67 |
1 files changed, 65 insertions, 2 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 98175a0..8e32533 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -89,7 +89,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_WM8990 if I2C select SND_SOC_WM8991 if I2C select SND_SOC_WM8993 if I2C - select SND_SOC_WM8994 if MFD_WM8994 + select SND_SOC_WM8994 if I2C && MACH_P1 select SND_SOC_WM8995 if SND_SOC_I2C_AND_SPI select SND_SOC_WM9081 if I2C select SND_SOC_WM9090 if I2C @@ -130,7 +130,7 @@ config SND_SOC_AD1980 config SND_SOC_AD73311 tristate - + config SND_SOC_ADS117X tristate @@ -356,6 +356,9 @@ config SND_SOC_WM8993 config SND_SOC_WM8994 tristate +config SND_SOC_WM8994_SAMSUNG + tristate + config SND_SOC_WM8995 tristate @@ -386,3 +389,63 @@ config SND_SOC_WM2000 config SND_SOC_WM9090 tristate + +menuconfig SND_WM8994_EXTENSIONS + bool "WM8994 Extensions" + depends on SND_SOC_SAMSUNG_HERRING_WM8994 || SND_SOC_SAMSUNG_P1_WM8994 + default y + help + With this option enabled, the kernel compile an additional driver + that extend the existing sound driver + +config SND_WM8994_EXTENSIONS_HP_LEVEL_CONTROL + bool "Add headphone amplifier level control" + depends on SND_WM8994_EXTENSIONS + default y + help + Adds a control allowing to adjust the analog gain of the headphone + amplifier + +config SND_WM8994_EXTENSIONS_HP_LEVEL + int "default level at boot 0-62" + depends on SND_WM8994_EXTENSIONS_HP_LEVEL_CONTROL + default 54 if MACH_HERRING=y || MACH_P1=y || M110S=y + default 47 + range 0 62 + help + Default headphone amplifier level. Take care not setting it to high, + it would introduce hiss for people not using the control app + +config SND_WM8994_EXTENSIONS_RECORD_PRESETS + bool "Microphone recording presets" + depends on SND_WM8994_EXTENSIONS + default y + help + Recording presets with Dynamic Range Compression auto-gain + on microphone: + - Original + - High sensitivity + - Balanced (recommanded, default) + - Loud environment - concert + +config SND_WM8994_EXTENSIONS_FM + bool "FM radio: frequency response and levels optimizations" + depends on SND_WM8994_EXTENSIONS && (SAMSUNG_GALAXYS || SAMSUNG_GALAXYSB) + default y + help + Adds a control to enable or disable the high-pass filter on FM radio + +config SND_WM8994_EXTENSIONS_MODULE + tristate "Build also as module (incomplete)" + depends on SND_WM8994_EXTENSIONS && m && n + default n + help + requires additional source + +config SND_WM8994_EXTENSIONS_DEVELOPMENT + bool "Codec development tools (unsafe)" + depends on SND_WM8994_EXTENSIONS + default n + help + Allow to codec dump registers and load register-address/value batches + Powerful but also dangerous tool |