Skip to content

[RFC] ASoC: SOF: ADL-P uses its own sof_dev_desc#2817

Closed
libinyang wants to merge 1 commit intothesofproject:topic/sof-devfrom
libinyang:adl-p
Closed

[RFC] ASoC: SOF: ADL-P uses its own sof_dev_desc#2817
libinyang wants to merge 1 commit intothesofproject:topic/sof-devfrom
libinyang:adl-p

Conversation

@libinyang
Copy link

Let ADL-P use its own sof_dev_desc for the driver_data.

Signed-off-by: Libin Yang libin.yang@intel.com

Let ADL-P use its own sof_dev_desc for the driver_data.

Signed-off-by: Libin Yang <libin.yang@intel.com>
@libinyang libinyang changed the title ASoC: SOF: ADL-P uses its own sof_dev_desc [RFC] ASoC: SOF: ADL-P uses its own sof_dev_desc Apr 2, 2021
static const struct sof_dev_desc adlp_desc = {
.machines = snd_soc_acpi_intel_adl_machines,
.alt_machines = snd_soc_acpi_intel_adl_sdw_machines,
.use_acpi_target_states = true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does .use_acpi_target_states for? Do we need .use_acpi_target_states fir adls_desc, too?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bardliao I talked with Keyon 1 week ago for this question. We need to set this flag. And I had a patch to set this flag on some tgl platforms

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bardliao The patch I mentioned is submitted #2822. And I described the use_acpi_target_states usage in that PR.

@kv2019i
Copy link
Collaborator

kv2019i commented Apr 7, 2021

@libinyang wrote:

Let ADL-P use its own sof_dev_desc for the driver_data.

You could add a note on the firmware name. Something like: "Use a unique filename for ADL-P firmware."

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. FYI to @yongzhi1

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't object to adding a new descriptor but I object to calling it out with the -p suffix (same for firmware name).
We can consider that ADL-S is different from other skews, and just name the other cases "adl' without listing out the k, h, m, n, y or whatever letters of the alphabet marketing came up with...

@sathyap-chrome
Copy link

@libinyang can you look at my PR : #2786 - similar change as yours but different FW name ( as pierre comment above). we can update my PR together too. Let me know your thoughts.

@libinyang
Copy link
Author

@libinyang can you look at my PR : #2786 - similar change as yours but different FW name ( as pierre comment above). we can update my PR together too. Let me know your thoughts.

@sathyap-chrome Sure. I will close this PR.

@libinyang libinyang closed this Apr 8, 2021
@kv2019i
Copy link
Collaborator

kv2019i commented Apr 8, 2021

Uh, sorry @libinyang and @sathyap-chrome -- I had reviewed #2786 earlier... should have made the connection. Let's go with that indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants