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 <[email protected]>
  • Loading branch information
blemouzy authored and carlescufi committed Sep 13, 2023
1 parent cb76aab commit 75bc80d
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 75bc80d

Please sign in to comment.