Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_PCM1681 pcm1681.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_MAX98091 max98091.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_DMIC_AMBIQ_PDM dmic_ambiq_pdm.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_DA7212 da7212.c)
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_SF32LB sf32lb_codec.c)
1 change: 1 addition & 0 deletions drivers/audio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ source "drivers/audio/Kconfig.tlv320dac"
source "drivers/audio/Kconfig.wm8904"
source "drivers/audio/Kconfig.wm8962"
source "drivers/audio/Kconfig.da7212"
source "drivers/audio/Kconfig.sf32lb"

endif # AUDIO_CODEC

Expand Down
11 changes: 11 additions & 0 deletions drivers/audio/Kconfig.sf32lb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) 2025 SiFli Technologies(Nanjing) Co., Ltd
# SPDX-License-Identifier: Apache-2.0

config AUDIO_CODEC_SF32LB
bool "sf32lb codec driver support"
select USE_SIFLI_HAL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the HAL be selected at the SoC level?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USE_SIFLI_HAL is sco low chip driver

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is ‘sco’ ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USE_SIFLI_HAL will using \zephyrproject\modules\hal\sifli,
remote url is https://github.com/zephyrproject-rtos/hal_sifli

select USE_SIFLI_HAL_DMA
select USE_SIFLI_HAL_AUDCODEC
default y
depends on SOC_SERIES_SF32LB52X

Loading
Loading