mirror of https://github.com/thesofproject/sof.git
topology: add mute led tokens
Add tokens to topology for led use and led direction. Led use is true for positive integers, false for 0. Led direction 0 corresponds to playback and positive integers to capture. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
parent
bea68b77d3
commit
bcf00a293a
|
@ -106,4 +106,8 @@
|
||||||
/* ESAI */
|
/* ESAI */
|
||||||
#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
|
#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
|
||||||
|
|
||||||
|
/* Led control for mute switches */
|
||||||
|
#define SOF_TKN_MUTE_LED_USE 1300
|
||||||
|
#define SOF_TKN_MUTE_LED_DIRECTION 1301
|
||||||
|
|
||||||
#endif /* __KERNEL_TOKENS_H__ */
|
#endif /* __KERNEL_TOKENS_H__ */
|
||||||
|
|
|
@ -96,3 +96,8 @@ SectionVendorTokens."sof_process_tokens" {
|
||||||
SectionVendorTokens."sof_esai_tokens" {
|
SectionVendorTokens."sof_esai_tokens" {
|
||||||
SOF_TKN_IMX_ESAI_MCLK_ID "1100"
|
SOF_TKN_IMX_ESAI_MCLK_ID "1100"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SectionVendorTokens."sof_led_tokens" {
|
||||||
|
SOF_TKN_MUTE_LED_USE "1300"
|
||||||
|
SOF_TKN_MUTE_LED_DIRECTION "1301"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue