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:
Jaska Uimonen 2019-09-30 19:43:09 +03:00 committed by Tomasz Lauda
parent bea68b77d3
commit bcf00a293a
2 changed files with 9 additions and 0 deletions

View File

@ -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__ */

View File

@ -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"
}