Skip to content

ASoC: soc-acpi-intel-ptl-match: add ptl_cs42l43_agg_l3_cs35l56_l12_ghost_rt722#5754

Open
bardliao wants to merge 1 commit intothesofproject:topic/sof-devfrom
bardliao:ghost-rt722
Open

ASoC: soc-acpi-intel-ptl-match: add ptl_cs42l43_agg_l3_cs35l56_l12_ghost_rt722#5754
bardliao wants to merge 1 commit intothesofproject:topic/sof-devfrom
bardliao:ghost-rt722

Conversation

@bardliao
Copy link
Copy Markdown
Collaborator

@bardliao bardliao commented May 4, 2026

Some BIOS include a ghost ALC722 codec ADR while the hardware is not physically present. That's why we need to create an acpi mach table with empty endpoint. The ghost ALC722 codec with empty endpoint will be skipped by the machine driver.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new PTL SoundWire ACPI machine match intended to handle BIOSes that advertise a “ghost” RT722/ALC722 codec _ADR even when the device is not physically present, by providing an _ADR entry with zero endpoints so the machine driver skips it.

Changes:

  • Added a new cs42l43 aggregated _ADR table that includes an extra “ghost” RT722/ALC722 device with no endpoints.
  • Added new cs35l56 2-amp _ADR tables using spk_1..spk_4 endpoints.
  • Added a new PTL SoundWire link table + machine entry wiring these pieces together.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sound/soc/intel/common/soc-acpi-intel-ptl-match.c Outdated
Comment thread sound/soc/intel/common/soc-acpi-intel-ptl-match.c Outdated
Comment thread sound/soc/intel/common/soc-acpi-intel-ptl-match.c Outdated

static const struct snd_soc_acpi_adr_device cs35l56_1_2amp_adr[] = {
{
.adr = 0x0001321fa355601ull,
Comment on lines +222 to +223
* To handle the ALC722 codec is listed in the BIOS while the hardware is not
* physically present.
Copilot AI review requested due to automatic review settings May 4, 2026 06:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +222 to +223
* To handle the ALC722 codec is listed in the BIOS while the hardware is not
* physically present.

static const struct snd_soc_acpi_adr_device cs35l56_1_2amp_adr[] = {
{
.adr = 0x0001321fa355601ull,
…ost_rt722

Some BIOS include a ghost ALC722 codec ADR while the hardware is not
physically present. That's why we need to create an acpi mach table
with empty endpoint. The ghost ALC722 codec with empty endpoint will
be skipped by the machine driver.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Closes:thesofproject#5721
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.

2 participants