Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: audio: tas6422dac: add driver #59678

Merged
merged 1 commit into from Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/audio/CMakeLists.txt
Expand Up @@ -6,3 +6,4 @@ zephyr_library_sources_ifdef(CONFIG_AUDIO_TLV320DAC tlv320dac310x.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_MPXXDTYY mpxxdtyy.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_MPXXDTYY mpxxdtyy-i2s.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_DMIC_NRFX_PDM dmic_nrfx_pdm.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_TAS6422DAC tas6422dac.c)
1 change: 1 addition & 0 deletions drivers/audio/Kconfig
Expand Up @@ -29,6 +29,7 @@ module = AUDIO_CODEC
module-str = audio codec
source "subsys/logging/Kconfig.template.log_config"

source "drivers/audio/Kconfig.tas6422dac"
source "drivers/audio/Kconfig.tlv320dac"

endif # AUDIO_CODEC
Expand Down
11 changes: 11 additions & 0 deletions drivers/audio/Kconfig.tas6422dac
@@ -0,0 +1,11 @@
# Copyright (c) 2023 Centralp
# SPDX-License-Identifier: Apache-2.0

config AUDIO_TAS6422DAC
bool "TAS6422 audio amplifier support"
default y
depends on DT_HAS_TI_TAS6422DAC_ENABLED
select I2C
depends on GPIO
help
Enable TAS6422 support on the selected board