Skip to content

Commit 3b2af7f

Browse files
peda-rbroonie
authored andcommitted
ASoC: max9860: new driver
This is a driver for the MAX9860 Mono Audio Voice Codec. https://datasheets.maximintegrated.com/en/ds/MAX9860.pdf This driver does not support sidetone since the DVST register field is backwards with the mute near the maximum level instead of the minimum. Signed-off-by: Peter Rosin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent e1f90fc commit 3b2af7f

File tree

5 files changed

+930
-0
lines changed

5 files changed

+930
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7253,6 +7253,13 @@ F: Documentation/devicetree/bindings/i2c/max6697.txt
72537253
F: drivers/hwmon/max6697.c
72547254
F: include/linux/platform_data/max6697.h
72557255

7256+
MAX9860 MONO AUDIO VOICE CODEC DRIVER
7257+
M: Peter Rosin <[email protected]>
7258+
L: [email protected] (moderated for non-subscribers)
7259+
S: Maintained
7260+
F: Documentation/devicetree/bindings/sound/max9860.txt
7261+
F: sound/soc/codecs/max9860.*
7262+
72567263
MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS
72577264
M: Krzysztof Kozlowski <[email protected]>
72587265

sound/soc/codecs/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ config SND_SOC_ALL_CODECS
8484
select SND_SOC_MAX98925 if I2C
8585
select SND_SOC_MAX98926 if I2C
8686
select SND_SOC_MAX9850 if I2C
87+
select SND_SOC_MAX9860 if I2C
8788
select SND_SOC_MAX9768 if I2C
8889
select SND_SOC_MAX9877 if I2C
8990
select SND_SOC_MC13783 if MFD_MC13XXX
@@ -547,6 +548,11 @@ config SND_SOC_MAX98926
547548
config SND_SOC_MAX9850
548549
tristate
549550

551+
config SND_SOC_MAX9860
552+
tristate "Maxim MAX9860 Mono Audio Voice Codec"
553+
depends on I2C
554+
select REGMAP_I2C
555+
550556
config SND_SOC_PCM1681
551557
tristate "Texas Instruments PCM1681 CODEC"
552558
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ snd-soc-max9867-objs := max9867.o
7979
snd-soc-max98925-objs := max98925.o
8080
snd-soc-max98926-objs := max98926.o
8181
snd-soc-max9850-objs := max9850.o
82+
snd-soc-max9860-objs := max9860.o
8283
snd-soc-mc13783-objs := mc13783.o
8384
snd-soc-ml26124-objs := ml26124.o
8485
snd-soc-nau8825-objs := nau8825.o
@@ -293,6 +294,7 @@ obj-$(CONFIG_SND_SOC_MAX9867) += snd-soc-max9867.o
293294
obj-$(CONFIG_SND_SOC_MAX98925) += snd-soc-max98925.o
294295
obj-$(CONFIG_SND_SOC_MAX98926) += snd-soc-max98926.o
295296
obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o
297+
obj-$(CONFIG_SND_SOC_MAX9860) += snd-soc-max9860.o
296298
obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o
297299
obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o
298300
obj-$(CONFIG_SND_SOC_NAU8825) += snd-soc-nau8825.o

0 commit comments

Comments
 (0)