Skip to content

Commit 1f458d5

Browse files
Garlic Tsengbroonie
authored andcommitted
ASoC: mediatek: Add mt2701-cs42448 driver and config option.
Add machine driver and config option for MT2701. Signed-off-by: Garlic Tseng <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 43a6a7e commit 1f458d5

File tree

4 files changed

+453
-0
lines changed

4 files changed

+453
-0
lines changed

sound/soc/mediatek/Kconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
config SND_SOC_MEDIATEK
22
tristate
33

4+
config SND_SOC_MT2701
5+
tristate "ASoC support for Mediatek MT2701 chip"
6+
depends on ARCH_MEDIATEK
7+
select SND_SOC_MEDIATEK
8+
help
9+
This adds ASoC driver for Mediatek MT2701 boards
10+
that can be used with other codecs.
11+
Select Y if you have such device.
12+
If unsure select "N".
13+
14+
config SND_SOC_MT2701_CS42448
15+
tristate "ASoc Audio driver for MT2701 with CS42448 codec"
16+
depends on SND_SOC_MT2701
17+
select SND_SOC_CS42XX8_I2C
18+
select SND_SOC_BT_SCO
19+
help
20+
This adds ASoC driver for Mediatek MT2701 boards
21+
with the CS42448 codecs.
22+
Select Y if you have such device.
23+
If unsure select "N".
24+
425
config SND_SOC_MT8173
526
tristate "ASoC support for Mediatek MT8173 chip"
627
depends on ARCH_MEDIATEK

sound/soc/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
obj-$(CONFIG_SND_SOC_MEDIATEK) += common/
2+
obj-$(CONFIG_SND_SOC_MT2701) += mt2701/
23
obj-$(CONFIG_SND_SOC_MT8173) += mt8173/

sound/soc/mediatek/mt2701/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (C) 2015 MediaTek Inc.
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License version 2 as
6+
# published by the Free Software Foundation.
7+
#
8+
# This program is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
14+
# platform driver
15+
snd-soc-mt2701-afe-objs := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
16+
obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o
17+
18+
# machine driver
19+
obj-$(CONFIG_SND_SOC_MT2701_CS42448) += mt2701-cs42448.o

0 commit comments

Comments
 (0)