-
Notifications
You must be signed in to change notification settings - Fork 349
topology2: ssp: Add blob version #7363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Simple hardware config class definition for HDA/SDW/DMIC type DAIs. All attributes defined herein | ||
| # are namespaced by alsatplg to "Object.Base.hw_config.1.attribute_name" | ||
| # | ||
| # Object.Base.hw_config.1 { | ||
| # id 0 | ||
| # name "HDA0" | ||
| # } | ||
| # | ||
| # where 1 is the unique instance ID for the hw_config object within the same alsaconf | ||
| # node. | ||
|
|
||
| Class.Base."hw_config" { | ||
| # | ||
| # Argument used to construct hw config (hw config ID) | ||
| # | ||
| DefineAttribute."id" {} | ||
| DefineAttribute."instance" {} | ||
|
|
||
| DefineAttribute."name" { | ||
| type "string" | ||
| } | ||
|
|
||
| attributes { | ||
| !constructor [ | ||
| "id" | ||
| ] | ||
| !mandatory [ | ||
| "name" | ||
| ] | ||
| # | ||
| # hw_config objects instantiated within the same alsaconf node must have unique | ||
| # 'instance' attribute | ||
| unique "instance" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,9 @@ Object.Dai.SSP [ | |
| tdm_slots 1 | ||
| tx_slots 1 | ||
| rx_slots 1 | ||
| Object.Base.link_config.1 { | ||
| clock_source 0 | ||
| } | ||
| } | ||
| Object.Base.hw_config.2 { | ||
| id 1 | ||
|
|
@@ -36,6 +39,9 @@ Object.Dai.SSP [ | |
| tdm_slots 1 | ||
| tx_slots 1 | ||
| rx_slots 1 | ||
| Object.Base.link_config.1 { | ||
| clock_source 0 | ||
| } | ||
| } | ||
| Object.Base.hw_config.3 { | ||
| id 2 | ||
|
|
@@ -50,6 +56,9 @@ Object.Dai.SSP [ | |
| tdm_slots 2 | ||
| tx_slots 3 | ||
| rx_slots 0 | ||
| Object.Base.link_config.1 { | ||
| clock_source 0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be the cardinal clock (i.e. "1"), so we can use integer divider for 1.536Mhz?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no should 0 for xtal as xtal is 38.4 and 38.4M/1.536M = 25
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kv2019i I will let you answer this question and follow up with another PR if we need to change the clock source for BT. For now, it actually makes no difference since we dont build the topology for MTL |
||
| } | ||
| } | ||
| } | ||
| ] | ||
Uh oh!
There was an error while loading. Please reload this page.