You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
ASoC: samsung: Add driver for Aries boards
Samsung Aries boards have a WM8994 codec connected to the Samsung I2S controller, the BT codec, and the cellular modem. Jack detection is done by a combination of an ADC, GPIOs, and an extcon device for the USB dock. There is also a GPIO for selection between the Mic path and the TV out path on the headphone jack. There are two main variants, one with an FM radio and where the modem is the master and one without a radio and the modem is the slave. Signed-off-by: Jonathan Bakker <xc-racer2@live.ca> Link: https://lore.kernel.org/r/BN6PR04MB06608CBF03EF27B70B175978A39F0@BN6PR04MB0660.namprd04.prod.outlook.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
c01db8b00d
commit
7a3a7671fa
@@ -212,4 +212,17 @@ config SND_SOC_SAMSUNG_TM2_WM5110
|
||||
help
|
||||
Say Y if you want to add support for SoC audio on the TM2 board.
|
||||
|
||||
config SND_SOC_SAMSUNG_ARIES_WM8994
|
||||
tristate "SoC I2S Audio support for WM8994 on Aries"
|
||||
depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON
|
||||
select SND_SOC_BT_SCO
|
||||
select SND_SOC_WM8994
|
||||
select SND_SAMSUNG_I2S
|
||||
help
|
||||
Say Y if you want to add support for SoC audio on Aries boards,
|
||||
which has a WM8994 codec connected to a BT codec, a cellular
|
||||
modem, and the Samsung I2S controller. Jack detection is done
|
||||
via ADC, GPIOs, and an extcon device. Switching between the Mic
|
||||
and TV-Out path is also handled.
|
||||
|
||||
endif #SND_SOC_SAMSUNG
|
||||
|
||||
@@ -41,6 +41,7 @@ snd-soc-bells-objs := bells.o
|
||||
snd-soc-odroid-objs := odroid.o
|
||||
snd-soc-arndale-objs := arndale.o
|
||||
snd-soc-tm2-wm5110-objs := tm2_wm5110.o
|
||||
snd-soc-aries-wm8994-objs := aries_wm8994.o
|
||||
|
||||
obj-$(CONFIG_SND_SOC_SAMSUNG_JIVE_WM8750) += snd-soc-jive-wm8750.o
|
||||
obj-$(CONFIG_SND_SOC_SAMSUNG_NEO1973_WM8753) += snd-soc-neo1973-wm8753.o
|
||||
@@ -64,3 +65,4 @@ obj-$(CONFIG_SND_SOC_BELLS) += snd-soc-bells.o
|
||||
obj-$(CONFIG_SND_SOC_ODROID) += snd-soc-odroid.o
|
||||
obj-$(CONFIG_SND_SOC_ARNDALE) += snd-soc-arndale.o
|
||||
obj-$(CONFIG_SND_SOC_SAMSUNG_TM2_WM5110) += snd-soc-tm2-wm5110.o
|
||||
obj-$(CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994) += snd-soc-aries-wm8994.o
|
||||
|
||||
695
sound/soc/samsung/aries_wm8994.c
Normal file
695
sound/soc/samsung/aries_wm8994.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user