Skip to content

Commit a9ba361

Browse files
author
Josuah Demangeon
committed
drivers: audio: kconfig: add a common prefix to all codecs
In order to use glob, add a common prefix to all audio codecs Kconfig files: "Kconfig.*" -> "Kconfig.codec_*". Reduce the effort in introducing new drivers and reduce ambiguity of which type of audio driver it is. Signed-off-by: Josuah Demangeon <[email protected]>
1 parent 2bc15b4 commit a9ba361

11 files changed

+2
-18
lines changed

drivers/audio/Kconfig

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,7 @@ module = AUDIO_CODEC
3535
module-str = audio codec
3636
source "subsys/logging/Kconfig.template.log_config"
3737

38-
# zephyr-keep-sorted-start
39-
source "drivers/audio/Kconfig.cs43l22"
40-
source "drivers/audio/Kconfig.da7212"
41-
source "drivers/audio/Kconfig.max98091"
42-
source "drivers/audio/Kconfig.pcm1681"
43-
source "drivers/audio/Kconfig.tas6422dac"
44-
source "drivers/audio/Kconfig.tlv320aic3110"
45-
source "drivers/audio/Kconfig.tlv320dac"
46-
source "drivers/audio/Kconfig.wm8904"
47-
source "drivers/audio/Kconfig.wm8962"
48-
# zephyr-keep-sorted-stop
38+
source "drivers/audio/Kconfig.codec_*"
4939

5040
endif # AUDIO_CODEC
5141

@@ -66,13 +56,7 @@ module = AUDIO_DMIC
6656
module-str = audio_dmic
6757
source "subsys/logging/Kconfig.template.log_config"
6858

69-
# zephyr-keep-sorted-start
70-
source "drivers/audio/Kconfig.dmic_ambiq_pdm"
71-
source "drivers/audio/Kconfig.dmic_mcux"
72-
source "drivers/audio/Kconfig.dmic_nxp_micfil"
73-
source "drivers/audio/Kconfig.dmic_pdm_nrfx"
74-
source "drivers/audio/Kconfig.mpxxdtyy"
75-
# zephyr-keep-sorted-stop
59+
source "drivers/audio/Kconfig.dmic_*"
7660

7761
endif # AUDIO_DMIC
7862

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)