diff options
author | Kenneth Westfield <kwestfie@codeaurora.org> | 2015-03-13 04:01:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-16 07:24:47 -0400 |
commit | f380dd3f3cd77df3c5d297a635b635f72fb5a2b1 (patch) | |
tree | fb8bba0932a451adc91419feeb1c653c20ed75cd | |
parent | 79119c798649630b3191784a708b45cea4e31daf (diff) |
ASoC: qcom: Add ability to build QCOM drivers
Define the LPASS platform driver, the LPASS
CPU DAI driver and the Storm machine driver
configurations, and how to build them.
Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
Acked-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/qcom/Kconfig | 25 | ||||
-rw-r--r-- | sound/soc/qcom/Makefile | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig new file mode 100644 index 000000000000..5f58e4f1bca9 --- /dev/null +++ b/sound/soc/qcom/Kconfig | |||
@@ -0,0 +1,25 @@ | |||
1 | config SND_SOC_QCOM | ||
2 | tristate "ASoC support for QCOM platforms" | ||
3 | help | ||
4 | Say Y or M if you want to add support to use audio devices | ||
5 | in Qualcomm Technologies SOC-based platforms. | ||
6 | |||
7 | config SND_SOC_LPASS_CPU | ||
8 | tristate | ||
9 | depends on SND_SOC_QCOM | ||
10 | select REGMAP_MMIO | ||
11 | |||
12 | config SND_SOC_LPASS_PLATFORM | ||
13 | tristate | ||
14 | depends on SND_SOC_QCOM | ||
15 | select REGMAP_MMIO | ||
16 | |||
17 | config SND_SOC_STORM | ||
18 | tristate "ASoC I2S support for Storm boards" | ||
19 | depends on (ARCH_QCOM && SND_SOC_QCOM) || COMPILE_TEST | ||
20 | select SND_SOC_LPASS_CPU | ||
21 | select SND_SOC_LPASS_PLATFORM | ||
22 | select SND_SOC_MAX98357A | ||
23 | help | ||
24 | Say Y or M if you want add support for SoC audio on the | ||
25 | Qualcomm Technologies IPQ806X-based Storm board. | ||
diff --git a/sound/soc/qcom/Makefile b/sound/soc/qcom/Makefile new file mode 100644 index 000000000000..c5ce96c761c4 --- /dev/null +++ b/sound/soc/qcom/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # Platform | ||
2 | snd-soc-lpass-cpu-objs := lpass-cpu.o | ||
3 | snd-soc-lpass-platform-objs := lpass-platform.o | ||
4 | |||
5 | obj-$(CONFIG_SND_SOC_LPASS_CPU) += snd-soc-lpass-cpu.o | ||
6 | obj-$(CONFIG_SND_SOC_LPASS_PLATFORM) += snd-soc-lpass-platform.o | ||
7 | |||
8 | # Machine | ||
9 | snd-soc-storm-objs := storm.o | ||
10 | |||
11 | obj-$(CONFIG_SND_SOC_STORM) += snd-soc-storm.o | ||