Skip to content

Commit 20aedaf

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: wcd9335: add support to wcd9335 codec
Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It supports both I2S/I2C and SLIMbus audio interfaces. On slimbus interface it supports two data lanes; 16 Tx ports and 8 Rx ports. It has Seven DACs and nine dedicated interpolators, Seven (six audio ADCs, and one VBAT ADC), Multibutton headset control (MBHC), Active noise cancellation and Sidetone paths and processing. This patchset adds very basic support for playback and capture via the 9 interpolators and ADC respectively. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 262ff68 commit 20aedaf

4 files changed

Lines changed: 2134 additions & 0 deletions

File tree

‎sound/soc/codecs/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ config SND_SOC_ALL_CODECS
188188
select SND_SOC_TWL6040 if TWL6040_CORE
189189
select SND_SOC_UDA134X
190190
select SND_SOC_UDA1380 if I2C
191+
select SND_SOC_WCD9335 if SLIMBUS
191192
select SND_SOC_WL1273 if MFD_WL1273_CORE
192193
select SND_SOC_WM0010 if SPI_MASTER
193194
select SND_SOC_WM1250_EV1 if I2C
@@ -1114,6 +1115,14 @@ config SND_SOC_UDA1380
11141115
tristate
11151116
depends on I2C
11161117

1118+
config SND_SOC_WCD9335
1119+
tristate "WCD9335 Codec"
1120+
select REGMAP_SLIMBUS
1121+
help
1122+
The WCD9335 is a standalone Hi-Fi audio CODEC IC, supports
1123+
Qualcomm Technologies, Inc. (QTI) multimedia solutions,
1124+
including the MSM8996, MSM8976, and MSM8956 chipsets.
1125+
11171126
config SND_SOC_WL1273
11181127
tristate
11191128

‎sound/soc/codecs/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ snd-soc-twl4030-objs := twl4030.o
201201
snd-soc-twl6040-objs := twl6040.o
202202
snd-soc-uda134x-objs := uda134x.o
203203
snd-soc-uda1380-objs := uda1380.o
204+
snd-soc-wcd9335-objs := wcd9335.o
204205
snd-soc-wl1273-objs := wl1273.o
205206
snd-soc-wm-adsp-objs := wm_adsp.o
206207
snd-soc-wm0010-objs := wm0010.o
@@ -469,6 +470,7 @@ obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o
469470
obj-$(CONFIG_SND_SOC_TWL6040) += snd-soc-twl6040.o
470471
obj-$(CONFIG_SND_SOC_UDA134X) += snd-soc-uda134x.o
471472
obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o
473+
obj-$(CONFIG_SND_SOC_WCD9335) += snd-soc-wcd9335.o
472474
obj-$(CONFIG_SND_SOC_WL1273) += snd-soc-wl1273.o
473475
obj-$(CONFIG_SND_SOC_WM0010) += snd-soc-wm0010.o
474476
obj-$(CONFIG_SND_SOC_WM1250_EV1) += snd-soc-wm1250-ev1.o

0 commit comments

Comments
 (0)