Skip to content

Commit 9dd494f

Browse files
TomasBarakNXPkartben
authored andcommitted
drivers: audio: wm8962: Add wm8962 codec support
- create driver for codec wm8962 - add Kconfig, Cmakelist references - create dts binding Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
1 parent 4512cbf commit 9dd494f

File tree

6 files changed

+1156
-0
lines changed

6 files changed

+1156
-0
lines changed

drivers/audio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ zephyr_library_sources_ifdef(CONFIG_AUDIO_TAS6422DAC tas6422dac.c)
1111
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_SHELL codec_shell.c)
1212
zephyr_library_sources_ifdef(CONFIG_AUDIO_DMIC_MCUX dmic_mcux.c)
1313
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_WM8904 wm8904.c)
14+
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_WM8962 wm8962.c)
1415
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_CS43L22 cs43l22.c)

drivers/audio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ source "drivers/audio/Kconfig.tas6422dac"
4040
source "drivers/audio/Kconfig.tlv320aic3110"
4141
source "drivers/audio/Kconfig.tlv320dac"
4242
source "drivers/audio/Kconfig.wm8904"
43+
source "drivers/audio/Kconfig.wm8962"
4344

4445
endif # AUDIO_CODEC
4546

drivers/audio/Kconfig.wm8962

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config AUDIO_CODEC_WM8962
5+
bool "Wolfson WM8962 codec support"
6+
default y
7+
select I2C
8+
depends on DT_HAS_WOLFSON_WM8962_ENABLED
9+
help
10+
Enable support for the Wolfson WM8962 codec

0 commit comments

Comments
 (0)