Skip to content

Commit 576c57e

Browse files
KiseokJobroonie
authored andcommitted
ASoC: sma1307: Add driver for Iron Device SMA1307
The Iron Device SMA1307 is a boosted digital speaker amplifier Signed-off-by: Kiseok Jo <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 82a1ccd commit 576c57e

File tree

4 files changed

+2508
-0
lines changed

4 files changed

+2508
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ config SND_SOC_ALL_CODECS
240240
imply SND_SOC_SIMPLE_AMPLIFIER
241241
imply SND_SOC_SIMPLE_MUX
242242
imply SND_SOC_SMA1303
243+
imply SND_SOC_SMA1307
243244
imply SND_SOC_SPDIF
244245
imply SND_SOC_SRC4XXX_I2C
245246
imply SND_SOC_SSM2305
@@ -1873,6 +1874,15 @@ config SND_SOC_SMA1303
18731874
help
18741875
Enable support for Iron Device SMA1303 Boosted Class-D amplifier
18751876

1877+
config SND_SOC_SMA1307
1878+
tristate "Iron Device SMA1307 Audio Amplifier"
1879+
depends on I2C
1880+
help
1881+
Enable support for Iron Device SMA1307 boosted digital speaker
1882+
amplifier with feedback-loop.
1883+
If you are using a system with an SMA1307 amplifier connected
1884+
via I2C, enable this option.
1885+
18761886
config SND_SOC_SPDIF
18771887
tristate "S/PDIF CODEC"
18781888

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ snd-soc-sigmadsp-i2c-y := sigmadsp-i2c.o
279279
snd-soc-sigmadsp-regmap-y := sigmadsp-regmap.o
280280
snd-soc-si476x-y := si476x.o
281281
snd-soc-sma1303-y := sma1303.o
282+
snd-soc-sma1307-y := sma1307.o
282283
snd-soc-spdif-tx-y := spdif_transmitter.o
283284
snd-soc-spdif-rx-y := spdif_receiver.o
284285
snd-soc-src4xxx-y := src4xxx.o
@@ -689,6 +690,7 @@ obj-$(CONFIG_SND_SOC_SIGMADSP_I2C) += snd-soc-sigmadsp-i2c.o
689690
obj-$(CONFIG_SND_SOC_SIGMADSP_REGMAP) += snd-soc-sigmadsp-regmap.o
690691
obj-$(CONFIG_SND_SOC_SI476X) += snd-soc-si476x.o
691692
obj-$(CONFIG_SND_SOC_SMA1303) += snd-soc-sma1303.o
693+
obj-$(CONFIG_SND_SOC_SMA1307) += snd-soc-sma1307.o
692694
obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif-rx.o snd-soc-spdif-tx.o
693695
obj-$(CONFIG_SND_SOC_SRC4XXX) += snd-soc-src4xxx.o
694696
obj-$(CONFIG_SND_SOC_SRC4XXX_I2C) += snd-soc-src4xxx-i2c.o

0 commit comments

Comments
 (0)