You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
827 B
33 lines
827 B
7 months ago
|
#+++++++++++++++++++++++++++++++++++++++++++++++++++
|
||
|
choice
|
||
|
prompt "Audio Amplifier"
|
||
|
default SOCT_AUDIO_EXTERNAL_AMP
|
||
|
|
||
|
config SOCT_AUDIO_EXTERNAL_AMP
|
||
|
bool "External Amplifier"
|
||
|
help
|
||
|
use external amplifier
|
||
|
endchoice
|
||
|
|
||
|
menuconfig SOCT_SND_MUTECTL_SUPPORT
|
||
|
bool "Snd Mute Control Support"
|
||
|
depends on (SOCT_AUDIO_EXTERNAL_AMP)
|
||
|
default y
|
||
|
|
||
|
config SOCT_SND_MUTECTL_GPIO
|
||
|
hex "Snd Mute Control Gpio"
|
||
|
depends on SOCT_SND_MUTECTL_SUPPORT
|
||
|
default 0x1d
|
||
|
help
|
||
|
set specific GPIO to mute
|
||
|
|
||
|
config SOCT_SND_MUTECTL_LEVEL
|
||
|
int "Snd Mute Control Level (0, 1)"
|
||
|
depends on SOCT_SND_MUTECTL_SUPPORT
|
||
|
range 0 1
|
||
|
default 0
|
||
|
help
|
||
|
use high level or low level of GPIO to mute, 1: mute by high level, 0: mute by low level
|
||
|
|
||
|
#+++++++++++++++++++++++++++++++++++++++++++++++++++
|