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/[email protected]/
@spencerbull
spencerbull marked this pull request as draft September 13, 2026 02:22
kernelorg-mirror-bot Bot pushed a commit to kernelorg-mirror/linux_kernel_git_sashal_linus-next that referenced this pull request Sep 18, 2026
The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this pull request Nov 7, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Kaz205 pushed a commit to Kaz205/linux that referenced this pull request Nov 8, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this pull request Nov 8, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
kernelorg-mirror-bot Bot pushed a commit to kernelorg-mirror/linux_kernel_git_stable_linux-stable-rc that referenced this pull request Nov 9, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Kaz205 pushed a commit to Kaz205/linux that referenced this pull request Nov 10, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
key2p pushed a commit to key2p/linux that referenced this pull request Nov 10, 2026
[ Upstream commit ed447e2 ]

The wake line is only used as an IRQ source, yet the driver requests
it with devm_gpiod_get(). On the Dell XPS 14 DA14260 (Panther Lake)
that request lands on the pin the four CS35L57 amplifiers read their
speaker ID from. Each amplifier's _CRS carries

  GpioIo (Shared, PullNone, 0, 0, IoRestrictionInputOnly,
          "\_SB.GPI1", 0, ResourceConsumer,,) {20}

and INTC10E1 builds its _CRS at runtime from pad numbers kept in NVS:
a GpioInt (Edge, ActiveLow, Shared) first, then an Exclusive
output-only GpioIo for reset and two lines on the USB GPIO expander.
The driver maps index 0 to "wake". While it holds the line, cs35l56
fails and does not retry:

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

All four fail and no card is registered. Fedora 7.1.13 is the first
Fedora kernel with the driver enabled; 7.1.12 on the same board
creates the card, and 7.2.4 creates it again with intel_cvs
blacklisted. Where ipu-bridge does not expose the CSI endpoints, CSI
init returns -EPROBE_DEFER and every retry claims the line again for
the length of the handshake, which is how 7.1 fails as well.

Take the IRQ from the GpioInt entry with acpi_dev_gpio_irq_get_by(),
as the I2C core does for client->irq; this also applies the trigger
type from _CRS. The vendor driver in intel/vision-drivers does the
same. The driver binds as a platform device too, hence the explicit
lookup. A DKMS build of the patched driver on a DA14260 running
7.2.4 binds with all four amplifiers probing and the camera working
(third link).

Fixes: 8e2b43d ("media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS)")
Cc: [email protected]
Reported-by: jan p. springer <[email protected]>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2529031
Link: thesofproject/sof#11152
Link: omacom/omarchy-pkgs#419
Signed-off-by: Junjie Cao <[email protected]>
Tested-by: Manuel Knitza <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
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