Skip to content

Update linux-ptl to 7.2.4.arch1 and carry two Cirrus speaker-ID fixes - #419

Closed
spencerbull wants to merge 1 commit into
omacom:masterfrom
spencerbull:t3code/update-linux-ptl-audio-patch
Closed

spencerbull wants to merge 1 commit into
omacom:masterfrom
spencerbull:t3code/update-linux-ptl-audio-patch

Conversation

@spencerbull

Copy link
Copy Markdown
Contributor

What

  • Rebase linux-ptl onto Arch 7.2.4.arch1-2 (latest core). config.x86_64 is Arch stock; the only differences from our 7.2.3 config are the rustc/bindgen version strings. Kernel tarball and Arch patch signatures verified with GPG during the build.
  • Patches 0020 (ALPM), 0028 (Panel Replay ALPM lag workaround) and 0029 (DisplayID adaptive-sync range) apply unchanged at fuzz 0. intel_quirks.c gained no new 1028:* entries and the QUIRK_DISABLE_EDP_PANEL_REPLAY consumer in intel_psr.c is unchanged.
  • New 0030 media: i2c: cvs: Get the wake IRQ without claiming the GPIO (Junjie Cao, Cc: stable, Fixes: 8e2b43d2c10b, patchwork).
  • New 0031 spi: cs42l43: Workaround for ACPI with wrong spk-id-gpios (Richard Fitzgerald, Cirrus; not yet on a public list).

Why

On the Dell XPS 14 DA14260 the four CS35L57 SoundWire amplifiers read their speaker ID from one shared GpioIo (\_SB.GPI1 pin 20). The 7.2 in-tree Intel CVS camera driver requests its "wake" line with devm_gpiod_get() on that same pin, so with it loaded every amp probe fails:

cs35l56 sdw:0:2:01fa:3557:01:2: error -EBUSY: Failed to get spk-id-gpios

and the machine has no sound card. /sys/kernel/debug/gpio shows the line held as wake ... IRQ ACTIVE LOW. 0030 is the upstream fix. Note the Arch config cannot build the in-tree CVS driver, so on this package the patch is source parity only: the copy that actually runs is the DKMS module in intel-ipu7-camera, fixed in #418. Carrying it here keeps the two in step and covers any future config that enables the driver.

0031 is unrelated to the XPS 14 and only affects spi-cs42l43 systems (XPS 13 DX13260 with SPI sidecar amps), where the amps fail to read their tuning IDs today (omacom/omarchy#10987, omacom/omarchy#11374).

Testing

Built on a clean Arch container. Installed on an XPS 14 DA14260 together with intel-ipu7-camera 1.0.6-2 from #418 and rebooted into 7.2.4-arch1-1-ptl:

  • aplay -l lists the sof-soundwire card with the Speaker device.
  • All four amplifiers load cs35l57-b2-dsp1-misc-10280db9-spkid0-*.bin and report firmware v4.5.9; no -EBUSY in the log.
  • intel_cvs (DKMS, patched) binds and the camera still probes.

Panel Self Refresh remains broken on this platform as before; nothing here changes the display patches.

Refs: thesofproject/sof#11152, https://bugzilla.redhat.com/show_bug.cgi?id=2529031

Rebase onto Arch's 7.2.4.arch1-2 (config byte-identical to Arch stock apart
from the rustc/bindgen version strings). Patches 0020, 0028 and 0029 apply
unchanged at fuzz 0; the intel_quirks.c 1028:* entries and the
QUIRK_DISABLE_EDP_PANEL_REPLAY consumer are as before.

New patches:

- 0030 media: i2c: cvs: Get the wake IRQ without claiming the GPIO
  (Junjie Cao, Cc: stable, Fixes: 8e2b43d2c10b). The 7.2 CVS camera driver
  claimed its wake line with devm_gpiod_get(); on the Dell XPS 14 DA14260
  that pin is the GpioIo the four CS35L57 amplifiers read their speaker ID
  from, so every cs35l56 probe failed with -EBUSY and no sound card existed.
  The Arch config does not build the in-tree driver, so this is carried for
  parity with the DKMS copy in intel-ipu7-camera (omarchy-pkgs#418), which
  is where the fix takes effect on shipped systems.

- 0031 spi: cs42l43: Workaround for ACPI with wrong spk-id-gpios (Richard
  Fitzgerald). Reads each speaker-ID pin of a multi-pin GpioIo individually
  on cs42l43 SPI sidecar-amp systems such as the XPS 13 DX13260, where the
  amps otherwise cannot select their tuning (omarchy#10987, omarchy#11374).

Tested on an XPS 14 DA14260 together with intel-ipu7-camera 1.0.6-2: the
sof-soundwire card is created and all four amplifiers load their
cs35l57-b2-dsp1-misc-10280db9-spkid0 tuning.

Link: thesofproject/sof#11152
Link: https://patchwork.linuxtv.org/project/linux-media/patch/20260908105717.496232-1-junjie.cao@intel.com/
@spencerbull
spencerbull marked this pull request as draft September 13, 2026 02:22
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.

1 participant