Skip to content

Commit 26875c7

Browse files
Ryan Leelgirdwood
authored andcommitted
Added Maxim DSM audio component
Maxim DSM(Dynamic Speaker Management) audio component is added. This component takes stereo input + 4 channel IV feedback. Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
1 parent 41e7d65 commit 26875c7

File tree

8 files changed

+1459
-0
lines changed

8 files changed

+1459
-0
lines changed

src/audio/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ if(NOT CONFIG_LIBRARY)
6565
smart_amp_test.c
6666
)
6767
endif()
68+
if(CONFIG_MAXIM_DSM)
69+
add_subdirectory(smart_amp)
70+
endif()
6871
add_subdirectory(pcm_converter)
6972
if(CONFIG_COMP_ASRC)
7073
add_subdirectory(asrc)

src/audio/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,18 @@ config COMP_TEST_SMART_AMP
129129
help
130130
Select for test smart amplifier component
131131

132+
config MAXIM_DSM
133+
depends on CAVS && !CAVS_VERSION_1_5
134+
bool "Maxim DSM component"
135+
default y
136+
help
137+
Select for Maxim DSM(Dynamic Speaker Management) component.
138+
This component protect the speaker from overheating and
139+
excursion violation. This consists of two parts which are
140+
feedforward processing block running on playback thread and
141+
feedback processing block running on capture thread with
142+
amp current and voltage feedback.
143+
132144
config COMP_TEST_KEYPHRASE
133145
bool "KEYPHRASE_TEST component"
134146
default y

src/audio/smart_amp/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
3+
add_local_sources(sof smart_amp_maxim_dsm.c smart_amp.c smart_amp_generic.c)

0 commit comments

Comments
 (0)