Skip to content

Commit fd0ea9c

Browse files
fourkbombbroonie
authored andcommitted
ASoC: samsung: Add sound support for Midas boards
This patch adds support for voice and BT calls, along with standard audio output via the speaker, earpiece, headphone jack, HDMI, and any accessories compatible with Midas boards. This patch also supports headphone/headset detection and headsets with inline buttons. [m.szyprowski: adaptation to v5.1+ kernels (DAI links initialization)] [s.nawrocki: removal of the clk API calls for CODEC MCLK, the jack data structure moved to struct midas_priv, coding style and typo fixes, conversion to new cpu/codec/dai-node binding] Signed-off-by: Simon Shields <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f61d06a commit fd0ea9c

File tree

3 files changed

+553
-0
lines changed

3 files changed

+553
-0
lines changed

sound/soc/samsung/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,12 @@ config SND_SOC_SAMSUNG_ARIES_WM8994
225225
via ADC, GPIOs, and an extcon device. Switching between the Mic
226226
and TV-Out path is also handled.
227227

228+
config SND_SOC_SAMSUNG_MIDAS_WM1811
229+
tristate "SoC I2S Audio support for Midas boards"
230+
depends on SND_SOC_SAMSUNG
231+
select SND_SAMSUNG_I2S
232+
select SND_SOC_WM8994
233+
help
234+
Say Y if you want to add support for SoC audio on the Midas boards.
235+
228236
endif #SND_SOC_SAMSUNG

sound/soc/samsung/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ snd-soc-odroid-objs := odroid.o
4242
snd-soc-arndale-objs := arndale.o
4343
snd-soc-tm2-wm5110-objs := tm2_wm5110.o
4444
snd-soc-aries-wm8994-objs := aries_wm8994.o
45+
snd-soc-midas-wm1811-objs := midas_wm1811.o
4546

4647
obj-$(CONFIG_SND_SOC_SAMSUNG_JIVE_WM8750) += snd-soc-jive-wm8750.o
4748
obj-$(CONFIG_SND_SOC_SAMSUNG_NEO1973_WM8753) += snd-soc-neo1973-wm8753.o
@@ -66,3 +67,4 @@ obj-$(CONFIG_SND_SOC_ODROID) += snd-soc-odroid.o
6667
obj-$(CONFIG_SND_SOC_ARNDALE) += snd-soc-arndale.o
6768
obj-$(CONFIG_SND_SOC_SAMSUNG_TM2_WM5110) += snd-soc-tm2-wm5110.o
6869
obj-$(CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994) += snd-soc-aries-wm8994.o
70+
obj-$(CONFIG_SND_SOC_SAMSUNG_MIDAS_WM1811) += snd-soc-midas-wm1811.o

0 commit comments

Comments
 (0)