Skip to content

Commit 1bfbc26

Browse files
Sylwester Nawrockibroonie
authored andcommitted
ASoC: samsung: Add machine driver for Exynos5433 based TM2 board
This patch adds the sound machine driver for the TM2 and TM2E boards. Speaker and headphone playback, Main Mic capture, Bluetooth, Voice call and external accessory are supported. Signed-off-by: Inha Song <[email protected]> [k.kozlowski: rebased on 4.1] Signed-off-by: Krzysztof Kozlowski <[email protected]> [s.nawrocki: rebased to 4.7, adjustment to the ASoC core changes, removed unused ops and direct calls to the max98504 function, added parsing of "audio-amplifier" and "audio-codec" properties, added TDM API calls, switched to gpiod API] Signed-off-by: Sylwester Nawrocki <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 48a7602 commit 1bfbc26

File tree

3 files changed

+563
-0
lines changed

3 files changed

+563
-0
lines changed

sound/soc/samsung/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,13 @@ config SND_SOC_ARNDALE_RT5631_ALC5631
190190
select SND_SAMSUNG_I2S
191191
select SND_SOC_RT5631
192192

193+
config SND_SOC_SAMSUNG_TM2_WM5110
194+
tristate "SoC I2S Audio support for WM5110 on TM2 board"
195+
depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER
196+
select SND_SOC_MAX98504
197+
select SND_SOC_WM5110
198+
select SND_SAMSUNG_I2S
199+
help
200+
Say Y if you want to add support for SoC audio on the TM2 board.
201+
193202
endif #SND_SOC_SAMSUNG

sound/soc/samsung/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ snd-soc-lowland-objs := lowland.o
4141
snd-soc-littlemill-objs := littlemill.o
4242
snd-soc-bells-objs := bells.o
4343
snd-soc-arndale-rt5631-objs := arndale_rt5631.o
44+
snd-soc-tm2-wm5110-objs := tm2_wm5110.o
4445

4546
obj-$(CONFIG_SND_SOC_SAMSUNG_JIVE_WM8750) += snd-soc-jive-wm8750.o
4647
obj-$(CONFIG_SND_SOC_SAMSUNG_NEO1973_WM8753) += snd-soc-neo1973-wm8753.o
@@ -62,3 +63,4 @@ obj-$(CONFIG_SND_SOC_LOWLAND) += snd-soc-lowland.o
6263
obj-$(CONFIG_SND_SOC_LITTLEMILL) += snd-soc-littlemill.o
6364
obj-$(CONFIG_SND_SOC_BELLS) += snd-soc-bells.o
6465
obj-$(CONFIG_SND_SOC_ARNDALE_RT5631_ALC5631) += snd-soc-arndale-rt5631.o
66+
obj-$(CONFIG_SND_SOC_SAMSUNG_TM2_WM5110) += snd-soc-tm2-wm5110.o

0 commit comments

Comments
 (0)