Skip to content

Commit 6a8e1d4

Browse files
Ryan Leebroonie
authored andcommitted
ASoC: max98388: add amplifier driver
Added Analog Devices MAX98388 amplifier driver. MAX98388 provides a PCM interface for audio data and a standard I2C interface for control data communication. Signed-off-by: Ryan Lee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4cab2d5 commit 6a8e1d4

File tree

4 files changed

+1259
-0
lines changed

4 files changed

+1259
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ config SND_SOC_ALL_CODECS
137137
imply SND_SOC_MAX98363
138138
imply SND_SOC_MAX98373_I2C
139139
imply SND_SOC_MAX98373_SDW
140+
imply SND_SOC_MAX98388
140141
imply SND_SOC_MAX98390
141142
imply SND_SOC_MAX98396
142143
imply SND_SOC_MAX9850
@@ -1175,6 +1176,15 @@ config SND_SOC_MAX98373_SDW
11751176
interface for control data. Select this if MAX98373 is
11761177
connected via soundwire.
11771178

1179+
config SND_SOC_MAX98388
1180+
tristate "Analog Devices MAX98388 Speaker Amplifier"
1181+
depends on I2C
1182+
help
1183+
Enable support for Analog Devices MAX98388 audio
1184+
amplifier. The device provides a PCM interface for
1185+
audio data and a standard I2C interface for control
1186+
data communication.
1187+
11781188
config SND_SOC_MAX98390
11791189
tristate "Maxim Integrated MAX98390 Speaker Amplifier"
11801190
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ snd-soc-max98363-objs := max98363.o
153153
snd-soc-max98373-objs := max98373.o
154154
snd-soc-max98373-i2c-objs := max98373-i2c.o
155155
snd-soc-max98373-sdw-objs := max98373-sdw.o
156+
snd-soc-max98388-objs := max98388.o
156157
snd-soc-max98390-objs := max98390.o
157158
snd-soc-max98396-objs := max98396.o
158159
snd-soc-max9850-objs := max9850.o
@@ -525,6 +526,7 @@ obj-$(CONFIG_SND_SOC_MAX98363) += snd-soc-max98363.o
525526
obj-$(CONFIG_SND_SOC_MAX98373) += snd-soc-max98373.o
526527
obj-$(CONFIG_SND_SOC_MAX98373_I2C) += snd-soc-max98373-i2c.o
527528
obj-$(CONFIG_SND_SOC_MAX98373_SDW) += snd-soc-max98373-sdw.o
529+
obj-$(CONFIG_SND_SOC_MAX98388) += snd-soc-max98388.o
528530
obj-$(CONFIG_SND_SOC_MAX98390) += snd-soc-max98390.o
529531
obj-$(CONFIG_SND_SOC_MAX98396) += snd-soc-max98396.o
530532
obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o

0 commit comments

Comments
 (0)