topology2: add io_clk attribute to dmic and ssp

Add io_clk attribute to dmic and ssp dai class. This is the platform
dependent clock that needs to variated in upper level topology files.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
Jaska Uimonen 2021-11-09 18:10:45 +02:00 committed by Liam Girdwood
parent 4a5f6a8795
commit ba86bb4cab
2 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,9 @@ Class.Dai."DMIC" {
token_ref "sof_tkn_intel_dmic.word"
}
# platform clock frequency
DefineAttribute.io_clk {}
attributes {
!constructor [
"name"

View File

@ -106,6 +106,9 @@ Class.Dai."SSP" {
token_ref "sof_tkn_intel_ssp.short"
}
# platform clock frequency
DefineAttribute.io_clk {}
attributes {
!constructor [
"name"