Skip to content

ASoC: Intel: sof_rt5682: Add support for nvl_max98360a_rt5682 - #5897

Merged
bardliao merged 1 commit into
thesofproject:topic/sof-devfrom
jairaj-arava:add_nvl_i2s_changes
Aug 27, 2026
Merged

ASoC: Intel: sof_rt5682: Add support for nvl_max98360a_rt5682#5897
bardliao merged 1 commit into
thesofproject:topic/sof-devfrom
jairaj-arava:add_nvl_i2s_changes

Conversation

@jairaj-arava

@jairaj-arava jairaj-arava commented Aug 26, 2026

Copy link
Copy Markdown

This patch adds the driver data for rt5682 codec on SSP0 and max98360a speaker amplifiers on SSP1 for NVL platform and aligned with PTL changes

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the NVL SOF/ASoC ACPI match table to use a NVL-specific RT5682 “default” machine id and corresponding driver data, aligning NVL behavior with the existing PTL pattern for runtime topology filename fixups (codec/amp suffix selection).

Changes:

  • Switch NVL RT5682 “default” entry from a generic sof_rt5682 drv_name to an NVL-specific nvl_rt5682_def id.
  • Change NVL RT5682 topology selection from SSP-based quirks to codec/amp-name-based quirks using the sof-nvl base name.
  • Add the nvl_rt5682_def platform device id and driver_data (SSP0 codec, SSP1 amp, SSP2 BT offload) to sof_rt5682.c.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sound/soc/intel/common/soc-acpi-intel-nvl-match.c Updates NVL RT5682 default machine entry to use NVL-specific drv_name and codec/amp-name topology fixups.
sound/soc/intel/boards/sof_rt5682.c Adds nvl_rt5682_def platform id entry with NVL driver_data (codec/amp/BT SSP ports).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

.sof_tplg_filename = "sof-nvl-rt5682", /* the tplg suffix is added at run time */
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB,
.drv_name = "nvl_rt5682_def",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why you change the existing driver data instead of adding a new one?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@bardliao the existing one doesn't seems to be matching with the one used for PTL. Not sure, how the behavior will be with it. Hence, instead of adding new, I changed the existing one to alingn with the working one in PTL.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@bardliao the existing one doesn't seems to be matching with the one used for PTL. Not sure, how the behavior will be with it. Hence, instead of adding new, I changed the existing one to alingn with the working one in PTL.

@jairaj-arava Could you please add the same to the commit message? So that the maintainer can have better understanding about the change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@bardliao updated the commit message as suggested. Thanks

This patch adds the driver data for rt5682 codec on SSP0 and
max98360a speaker amplifiers on SSP1 for NVL platform.

The existing one is not aligned with PTL.
Hence, changed it to align with the working changes in PTL.

Signed-off-by: Jairaj Arava <jairaj.arava@intel.com>
@bardliao
bardliao merged commit 8341fb1 into thesofproject:topic/sof-dev Aug 27, 2026
8 of 9 checks passed
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.

4 participants