History

ASoC: SOF: acpi led support for switch controls

Currently sof doesn't support acpi leds with mute switches. So implement acpi leds following quite shamelessly existing HDA implementation by Takashi Iwai. Mute leds can be enabled in topology by adding led and direction token in switch control private data.

Jaska Uimonen committed 7 years ago

Commit 5d430011 parent b4be4274 files · +58 −0Browse files

Showing the changes to include/uapi/sound/sof (1 of 4 files). Show all

Unified · Split

include/uapi/sound/sof/tokens.h+4−0
@@ -113,4 +113,8 @@ · 112 unmodified lines
113113 /* ESAI */
114114 #define SOF_TKN_IMX_ESAI_MCLK_ID 1100
115115
116+/* Led control for mute switches */
117+#define SOF_TKN_MUTE_LED_USE 1300
118+#define SOF_TKN_MUTE_LED_DIRECTION 1301
119+
116120 #endif