Skip to content

Commit

Permalink
drivers: audio: tas6422dac: add driver
Browse files Browse the repository at this point in the history
Add Texas Instruments TAS6422 DAC driver.

Signed-off-by: Benjamin Lemouzy <blemouzy@centralp.fr>
  • Loading branch information
blemouzy committed Aug 21, 2023
1 parent e9af821 commit 2ba026e
Show file tree
Hide file tree
Showing 6 changed files with 666 additions and 0 deletions.
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

0 comments on commit 2ba026e

Please sign in to comment.