ASoC: tegra-alt: machine driver for bali

Bug 200133225
Bug 1701860
Bug 1698137

Change-Id: I1e484f771d43f0d35a8a2406c803ae92d797e46f
Signed-off-by: Dipesh Gandhi <dipeshg@nvidia.com>
Signed-off-by: Gaurav Tendolkar <gtendolkar@nvidia.com>
Reviewed-on: http://git-master/r/834987
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Nitin Pai <npai@nvidia.com>
This commit is contained in:
Dipesh Gandhi
2015-11-19 10:00:48 +05:30
committed by Sameer Pujar
parent 4be8236080
commit 1cd212a9b9
2 changed files with 21 additions and 8 deletions

View File

@@ -29,6 +29,15 @@ config SND_SOC_TEGRA_ALT_FORCE_CARD_REG
Say Y or M if you want to register the sound card even if audio codec
is not connected/present on board.
config SND_SOC_TEGRA_ASOC_MACHINE_T18X_ALT
tristate "Tegra ASoC machine driver"
depends on SND_SOC_TEGRA_ALT
help
Say Y or M,
if you want to add support for
Tegra ASoC
machine driver.
config SND_SOC_TEGRA_T186REF_ALT
tristate "SoC Audio support for T186Ref"
depends on SND_SOC_TEGRA_ALT
@@ -54,6 +63,7 @@ config SND_SOC_TEGRA_T186REF_ALT
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
select SND_SOC_AD193X
select SND_SOC_TEGRA_ASOC_MACHINE_T18X_ALT
help
Say Y or M here.
@@ -82,6 +92,7 @@ config SND_SOC_TEGRA_T186REF_MOBILE_ALT
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
select SND_SOC_RT5659
select SND_SOC_TEGRA_ASOC_MACHINE_T18X_ALT
help
Say Y or M here.
@@ -109,6 +120,7 @@ config SND_SOC_TEGRA_T186REF_AUTO_ALT
select SND_SOC_TEGRA186_DSPK_ALT
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
select SND_SOC_TEGRA_ASOC_MACHINE_T18X_ALT
help
Say Y or M here.

View File

@@ -6,6 +6,8 @@ snd-soc-tegra186-alt-afc-objs := tegra186_afc_alt.o
snd-soc-tegra186-alt-xbar-objs := tegra186_xbar_alt.o
snd-soc-tegra186-alt-fpga-clock-objs := ahub_unit_fpga_clock_t18x.o
snd-soc-tegra186-alt-dspk-objs := tegra186_dspk_alt.o
snd-soc-tegra-asoc-machine-alt-t18x-objs := tegra_asoc_machine_alt_t18x.o \
../../../../$(lastword $(subst /, ,$(srctree)))/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
obj-$(CONFIG_SND_SOC_TEGRA186_ASRC_ALT) += snd-soc-tegra186-alt-asrc.o
obj-$(CONFIG_SND_SOC_TEGRA186_ARAD_ALT) += snd-soc-tegra186-alt-arad.o
@@ -13,15 +15,14 @@ obj-$(CONFIG_SND_SOC_TEGRA210_AFC_ALT) += snd-soc-tegra186-alt-afc.o
obj-$(CONFIG_SND_SOC_TEGRA210_XBAR_ALT) += snd-soc-tegra186-alt-xbar.o
obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra186-alt-fpga-clock.o
obj-$(CONFIG_SND_SOC_TEGRA186_DSPK_ALT) += snd-soc-tegra186-alt-dspk.o
obj-$(CONFIG_SND_SOC_TEGRA_ASOC_MACHINE_T18X_ALT) += snd-soc-tegra-asoc-machine-alt-t18x.o
snd-soc-tegra-alt-t186ref-objs := tegra_t186ref_alt.o
snd-soc-tegra-alt-t186ref-mobile-objs := tegra_t186ref_mobile_rt565x.o
snd-soc-tegra-alt-t186ref-auto-objs := \
tegra_t186ref_p2382_alt.o \
tegra_t186ref_bali_alt.o
# The funky manipulation of $(srctree) is for dynamically finding the name of
# the kernel root dir.
snd-soc-tegra-alt-t186ref-objs := tegra_t186ref_alt.o tegra_asoc_machine_alt_t18x.o \
../../../../$(lastword $(subst /, ,$(srctree)))/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
snd-soc-tegra-alt-t186ref-mobile-objs := tegra_t186ref_mobile_rt565x.o tegra_asoc_machine_alt_t18x.o \
../../../../$(lastword $(subst /, ,$(srctree)))/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
snd-soc-tegra-alt-t186ref-auto-objs := tegra_t186ref_p2382_alt.o tegra_asoc_machine_alt_t18x.o \
../../../../$(lastword $(subst /, ,$(srctree)))/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
obj-$(CONFIG_SND_SOC_TEGRA_T186REF_ALT) += snd-soc-tegra-alt-t186ref.o
obj-$(CONFIG_SND_SOC_TEGRA_T186REF_MOBILE_ALT) += snd-soc-tegra-alt-t186ref-mobile.o
obj-$(CONFIG_SND_SOC_TEGRA_T186REF_AUTO_ALT) += snd-soc-tegra-alt-t186ref-auto.o