-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Kenneth Westfield
authored and
Mark Brown
committed
Mar 16, 2015
1 parent
79119c7
commit f380dd3
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
config SND_SOC_QCOM | ||
tristate "ASoC support for QCOM platforms" | ||
help | ||
Say Y or M if you want to add support to use audio devices | ||
in Qualcomm Technologies SOC-based platforms. | ||
|
||
config SND_SOC_LPASS_CPU | ||
tristate | ||
depends on SND_SOC_QCOM | ||
select REGMAP_MMIO | ||
|
||
config SND_SOC_LPASS_PLATFORM | ||
tristate | ||
depends on SND_SOC_QCOM | ||
select REGMAP_MMIO | ||
|
||
config SND_SOC_STORM | ||
tristate "ASoC I2S support for Storm boards" | ||
depends on (ARCH_QCOM && SND_SOC_QCOM) || COMPILE_TEST | ||
select SND_SOC_LPASS_CPU | ||
select SND_SOC_LPASS_PLATFORM | ||
select SND_SOC_MAX98357A | ||
help | ||
Say Y or M if you want add support for SoC audio on the | ||
Qualcomm Technologies IPQ806X-based Storm board. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Platform | ||
snd-soc-lpass-cpu-objs := lpass-cpu.o | ||
snd-soc-lpass-platform-objs := lpass-platform.o | ||
|
||
obj-$(CONFIG_SND_SOC_LPASS_CPU) += snd-soc-lpass-cpu.o | ||
obj-$(CONFIG_SND_SOC_LPASS_PLATFORM) += snd-soc-lpass-platform.o | ||
|
||
# Machine | ||
snd-soc-storm-objs := storm.o | ||
|
||
obj-$(CONFIG_SND_SOC_STORM) += snd-soc-storm.o |