diff --git a/tools/topology/topology2/include/common/tokens.conf b/tools/topology/topology2/include/common/tokens.conf index 3277c7cb0497..456406009b7f 100644 --- a/tools/topology/topology2/include/common/tokens.conf +++ b/tools/topology/topology2/include/common/tokens.conf @@ -24,6 +24,7 @@ Object.Base.VendorToken { output_pin_binding_name 414 num_input_audio_formats 415 num_output_audio_formats 416 + no_wname_in_kcontrol_name 417 } "2" { diff --git a/tools/topology/topology2/include/components/widget-common.conf b/tools/topology/topology2/include/components/widget-common.conf index 07705ad23317..af87e4e70f7d 100644 --- a/tools/topology/topology2/include/components/widget-common.conf +++ b/tools/topology/topology2/include/components/widget-common.conf @@ -104,3 +104,17 @@ DefineAttribute.uuid { # Token set reference name and type token_ref "comp.uuid" } + +DefineAttribute."no_wname_in_kcontrol_name" { + type "string" + # Token set reference name + token_ref "comp.bool" + constraints { + !valid_values [ + "true" + "false" + ] + } +} + +no_wname_in_kcontrol_name "true"