Skip to content

Commit f289e55

Browse files
jeffchang-richtekbroonie
authored andcommitted
ASoC: Add MediaTek MT6660 Speaker Amp Driver
The MT6660 is a boosted BTL class-D amplifier with V/I sensing. A built-in DC-DC step-up converter is used to provide efficient power for class-D amplifier with multi-level class-G operation. The digital audio interface supports I2S, left-justified, right-justified, TDM and DSP A/B format for audio in with a data out used for chip information like voltage sense and current sense, which are able to be monitored via DATAO through proper Signed-off-by: Jeff Chang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 26aa191 commit f289e55

File tree

4 files changed

+598
-0
lines changed

4 files changed

+598
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ config SND_SOC_ALL_CODECS
125125
select SND_SOC_ML26124 if I2C
126126
select SND_SOC_MT6351 if MTK_PMIC_WRAP
127127
select SND_SOC_MT6358 if MTK_PMIC_WRAP
128+
select SND_SOC_MT6660 if I2C
128129
select SND_SOC_NAU8540 if I2C
129130
select SND_SOC_NAU8810 if I2C
130131
select SND_SOC_NAU8822 if I2C
@@ -1573,6 +1574,15 @@ config SND_SOC_MT6358
15731574
Enable support for the platform which uses MT6358 as
15741575
external codec device.
15751576

1577+
config SND_SOC_MT6660
1578+
tristate "Mediatek MT6660 Speaker Amplifier"
1579+
depends on I2C
1580+
help
1581+
MediaTek MT6660 is a smart power amplifier which contain
1582+
speaker protection, multi-band DRC, equalizer functions.
1583+
Select N if you don't have MT6660 on board.
1584+
Select M to build this as module.
1585+
15761586
config SND_SOC_NAU8540
15771587
tristate "Nuvoton Technology Corporation NAU85L40 CODEC"
15781588
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ snd-soc-msm8916-analog-objs := msm8916-wcd-analog.o
123123
snd-soc-msm8916-digital-objs := msm8916-wcd-digital.o
124124
snd-soc-mt6351-objs := mt6351.o
125125
snd-soc-mt6358-objs := mt6358.o
126+
snd-soc-mt6660-objs := mt6660.o
126127
snd-soc-nau8540-objs := nau8540.o
127128
snd-soc-nau8810-objs := nau8810.o
128129
snd-soc-nau8822-objs := nau8822.o
@@ -419,6 +420,7 @@ obj-$(CONFIG_SND_SOC_MSM8916_WCD_ANALOG) +=snd-soc-msm8916-analog.o
419420
obj-$(CONFIG_SND_SOC_MSM8916_WCD_DIGITAL) +=snd-soc-msm8916-digital.o
420421
obj-$(CONFIG_SND_SOC_MT6351) += snd-soc-mt6351.o
421422
obj-$(CONFIG_SND_SOC_MT6358) += snd-soc-mt6358.o
423+
obj-$(CONFIG_SND_SOC_MT6660) += snd-soc-mt6660.o
422424
obj-$(CONFIG_SND_SOC_NAU8540) += snd-soc-nau8540.o
423425
obj-$(CONFIG_SND_SOC_NAU8810) += snd-soc-nau8810.o
424426
obj-$(CONFIG_SND_SOC_NAU8822) += snd-soc-nau8822.o

0 commit comments

Comments
 (0)