aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/Kconfig
diff options
context:
space:
mode:
authorVaibhav Agarwal <vaibhav.sr@gmail.com>2020-07-09 15:57:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 16:40:26 +0200
commitc9a57eddb235d53b0a8b9d740e454ef466086fc8 (patch)
treed513d3803e08747e026c62377781bb0a1cb142ae /drivers/staging/greybus/Kconfig
parentstaging: greybus: audio: Add helper APIs for dynamic audio modules (diff)
downloadlinux-dev-c9a57eddb235d53b0a8b9d740e454ef466086fc8.tar.xz
linux-dev-c9a57eddb235d53b0a8b9d740e454ef466086fc8.zip
staging: greybus: audio: Enable GB codec, audio module compilation.
Currently you can't enable the Gey Bus Audio Codec because there is no entry for it in the Kconfig file. Originally the config name was going to be AUDIO_MSM8994 but that's not correct because other types of hardware are supported now. I have chosen the name AUDIO_APB_CODEC instead. Also I had to update the dependencies for GREYBUS_AUDIO to make the compile work. Signed-off-by: Vaibhav Agarwal <vaibhav.sr@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/2b50959ccffe5a4372880d27e79ef3be1873372c.1594290158.git.vaibhav.sr@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/Kconfig')
-rw-r--r--drivers/staging/greybus/Kconfig14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/staging/greybus/Kconfig b/drivers/staging/greybus/Kconfig
index 9389e7a922fa..927cfa4bc989 100644
--- a/drivers/staging/greybus/Kconfig
+++ b/drivers/staging/greybus/Kconfig
@@ -3,7 +3,7 @@ if GREYBUS
config GREYBUS_AUDIO
tristate "Greybus Audio Class driver"
- depends on SOUND
+ depends on SOUND && SND_SOC
help
Select this option if you have a device that follows the
Greybus Audio Class specification.
@@ -11,6 +11,18 @@ config GREYBUS_AUDIO
To compile this code as a module, chose M here: the module
will be called gb-audio.ko
+config GREYBUS_AUDIO_APB_CODEC
+ tristate "Greybus APBridge Audio codec driver"
+ depends on SND_SOC && GREYBUS_AUDIO
+ help
+ Select this option if you have a Toshiba APB device that has I2S
+ ports and acts as a Greybus "Dummy codec". This device is a
+ bridge from an APB-I2S port to a Unipro network.
+
+ To compile this code as a module, chose M here: the module
+ will be called gb-audio-codec.ko
+
+
config GREYBUS_BOOTROM
tristate "Greybus Bootrom Class driver"
help