Files
luban-lite-t3e-pro/bsp/peripheral/codec/Kconfig

47 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-08-30 16:21:18 +08:00
config AIC_I2S_CODEC_SELECT
bool "Select external audio codec"
default n
2024-04-03 16:40:57 +08:00
config AIC_I2S_CODEC_ES8388
bool "es8388"
depends on AIC_I2S_CODEC_SELECT
2023-08-30 16:21:18 +08:00
2024-04-03 16:40:57 +08:00
config AIC_I2S_CODEC_TLV320
bool "tlv320aic3101"
default y if AIC_I2S_CODEC_SELECT
depends on AIC_I2S_CODEC_SELECT
2023-08-30 16:21:18 +08:00
2025-01-08 19:12:06 +08:00
config AIC_I2S_CODEC_CS4344
bool "cs4344"
depends on AIC_I2S_CODEC_SELECT
2023-08-30 16:21:18 +08:00
if AIC_I2S_CODEC_ES8388
source "bsp/peripheral/codec/es8388/Kconfig"
endif
2024-01-27 08:47:24 +08:00
if AIC_I2S_CODEC_TLV320
source "bsp/peripheral/codec/tlv320aic3101/Kconfig"
endif
2024-04-03 16:40:57 +08:00
2025-01-08 19:12:06 +08:00
if AIC_I2S_CODEC_CS4344
source "bsp/peripheral/codec/cs4344/Kconfig"
endif
2024-04-03 16:40:57 +08:00
config AIC_I2S_CODEC_PA_PIN
string "PA shutdown pin"
default "PA.13"
depends on AIC_I2S_CODEC_SELECT
if AIC_I2S_CODEC_SELECT
choice
prompt "Select PA enable level"
default AIC_I2S_CODEC_PA_ENABLE_HIGH
config AIC_I2S_CODEC_PA_ENABLE_HIGH
bool "high level Active"
config AIC_I2S_CODEC_PA_ENABLE_LOW
bool "low level Active"
endchoice
endif