Skip to content

ASoC: rt722-sdca: Enable speaker playback on Acer Swift Pro SFP14-55 - #6052

Open
shripad-jyothinath wants to merge 1 commit into
thesofproject:topic/sof-devfrom
shripad-jyothinath:rt722-acer-sfp14-55-speaker-fix
Open

shripad-jyothinath wants to merge 1 commit into
thesofproject:topic/sof-devfrom
shripad-jyothinath:rt722-acer-sfp14-55-speaker-fix

Conversation

@shripad-jyothinath

Copy link
Copy Markdown

This patch enables the internal stereo speakers on the Acer Swift Pro SFP14-55 (Meteor Lake-P with Realtek RT722 SDCA SoundWire codec).

Problem

On the Acer Swift Pro SFP14-55, audio output through the internal speakers produces no sound at all under Linux, even though headphones and DMIC work fine.

Root Cause

While debugging on the actual laptop hardware and comparing ACPI SSDT tables against the SoundWire register dumps, I found a few key issues preventing the Class-D amplifier from producing sound:

  1. ACPI Entity mismatch: The ACPI SSDT tables declare the Class-D SmartAmp power domain under Entity 0x41 (Device (E041)), but RT722_SDCA_ENT_PDE23 in rt722-sdca.h was hardcoded to 0x23.
  2. PDE float control: Hardware register 0x61:0x29 (RT722_AMP_PDE_FLOAT_CTL) defaults to 0x2323, which leaves the amplifier power domain disconnected from Entity 0x41. Setting this to 0x4141 connects it to the power domain declared in ACPI.
  3. Bridge control bit: Register 0x20:0x07 (RT722_MISC_CTRL1) bit 15 (0x8000) was unasserted by default. Without setting bit 15, digital audio stream data from the SoundWire bus is gated and does not reach the Class-D stage.
  4. Class-D tuning: The ACPI table specifies tuning registers for the amp (0x20:0x38 = 0x890a, 0x20:0x37 = 0xfc15, 0x20:0x40 = 0x8800).
  5. Power sequencing and EAPD: The amplifier PLL and LDOs in 0x5F:0x0B need to be enabled (0x9800) along with raising EAPD (0x20:0x10 = 0x0360) during SND_SOC_DAPM_POST_PMU. An 80ms settling delay avoids DC pop. On stream stop (PRE_PMD), EAPD is lowered back to 0x0260 and the amp power is cut.

Changes

  • Added a DMI quirk match for Acer Swift Pro SFP14-55 (RT722_QUIRK_ACER_SFP14_55).
  • Configured PDE float control, bridge routing, and ACPI tuning in rt722_sdca_init().
  • Implemented amplifier power and EAPD sequence in DAPM widget event rt722_sdca_spk_event().
  • Corrected RT722_SDCA_ENT_PDE23 define to 0x41.

Verification

  • Verified on Acer Swift Pro SFP14-55 running 7.4.0-rc1-sof-test+.
  • Stream playback tested with ALSA and PipeWire/WirePlumber desktop audio (pw-play).
  • Both acoustic loopback recordings (via onboard DMIC) and listening tests confirm clean, pop-free stereo sound from the internal speakers.

The internal speakers on the Acer Swift Pro SFP14-55 (Meteor Lake-P
with Realtek RT722 SDCA SoundWire codec) produce no sound on Linux.
Investigation revealed several factors preventing audio output:

1. In the ACPI SSDT table, the Class-D SmartAmp power domain is
declared under Entity 0x41 (Device E041), but the upstream rt722
header hardcodes RT722_SDCA_ENT_PDE23 as 0x23. Update the definition
to 0x41.

2. Hardware register 0x61:0x29 (RT722_AMP_PDE_FLOAT_CTL) controls which
entity the Class-D power domain is mapped to. The default is 0x2323.
On Acer SFP14-55, set this to 0x4141 to map it to Entity 0x41.

3. Hardware register 0x20:0x07 (RT722_MISC_CTRL1) bit 15 (0x8000)
must be set to route digital stream audio to the Class-D stage. When
this bit is clear, audio from the bus is blocked at the bridge.

4. Apply the ACPI AF04 FIT Class-D tuning values (0x20:0x38 = 0x890a,
0x20:0x37 = 0xfc15, 0x20:0x40 = 0x8800).

5. On stream start (POST_PMU), power up the amplifier PLL and LDOs
(0x5F:0x0B = 0x9800) and raise EAPD (0x20:0x10 = 0x0360) with an 80ms
settling delay to avoid pops. On stream stop (PRE_PMD), lower EAPD to
0x0260 and cut amplifier power back to 0x0000.

Add a DMI quirk table matching the Acer Swift Pro SFP14-55 to apply
these settings cleanly without affecting other platforms.

Signed-off-by: Shripad J <shripad-jyothinath@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 22, 2026 07:19

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@sofci

sofci commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

@shripad-jyothinath
shripad-jyothinath requested a balanced review from Copilot November 22, 2026 10:24

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@jack-cy-yu

Copy link
Copy Markdown

Hi Shripad,

Thanks for getting the speakers to play on the SFP14-55, it confirms the problem is in the amp setup on this board and not in the SoundWire transport or the CAE firmware, but we can't take the patch as it is, mainly for two reasons:

  1. Changing RT722_SDCA_ENT_PDE23 from 0x23 to 0x41 is global. It is not covered by the DMI quirk, so every other RT722 platform would send its PDE requests to entity 0x41 while its PDE is still mapped to 0x23 (AMP_PDE_FLOAT_CTL = 0x2323 from the generic preset). That would break the speaker on all of them.
  2. The patch combines several independent changes (PDE entity mapping, MISC_CTRL1 bit 15, amp power/EAPD sequence, Class-D values from the FIT). Upstream will ask which of them are actually required, and we also need to check the values against our internal settings for this board.

The goal is a minimal, DMI-scoped fix that only affects this machine. To get there, could you help with the following?

Step 1: register dump comparison
Please capture cache-bypassed register dumps in two configurations, with the same kernel and both from a cold boot:

  • A: your patch (speaker works)
  • B: generic amp preset, i.e. your patch disabled (speaker silent)

For each, take the dump at three points: after init, during speaker playback, and after playback stops. Please include NID 0x20 (incl. 0x07, 0x10, 0x37, 0x38, 0x40), NID 0x5d (0x10000-0x10004), NID 0x5f (incl. 0x00, 0x0b), NID 0x61 (up to 0x80), and the amp function SDCA controls (PDE 0x23/0x41 requested/actual power state, FU06, function status).

If you can, also capture the same dump after a warm restart from Windows (Windows -> restart -> Linux, before the driver writes anything). It tells us which values Windows actually uses.

The dump diff gives us a candidate list. Some differences will just be a consequence of the amp running (power and status bits), so the minimal set has to be confirmed by testing.

Step 2: reduction test
Group your changes by function:

  • A: PDE entity 0x41 + AMP_PDE_FLOAT_CTL = 0x4141
  • B: MISC_CTRL1 (0x20:0x07) bit 15
  • C: Codec_D0 / amp power (0x5f:0x00, LDO1/LDO2_3, 0x5f:0x0b)
  • D: amp EAPD (0x20:0x10)
  • E: Class-D values from the AF04 FIT (0x20:0x37/0x38/0x40, 0x5d block, 0x61 entries, 0x2f03)

Then:

  1. Starting from your working patch, disable one group at a time and check whether the speaker still plays. A group whose removal makes the speaker silent is required.
  2. Starting from the generic preset, enable only the required groups and confirm the speaker plays.
  3. Only then narrow down to individual registers inside the required groups.

Our guess for the order of likelihood: A is probably not needed (0x23 with 0x2323 and 0x41 with 0x4141 are both consistent mappings, and PDE23 already reached PS0 in your earlier tests). B is worth testing on its own first: the existing CAE download flow sets MISC_CTRL1 bit 15 during the download and clears it afterwards. After that, C+D (amp power and EAPD), then E.

Step 3: final fix
Once you know the minimal set, we then verify the values internally and send a DMI-scoped patch upstream that only affects the SFP14-55.

In the meantime, could you also send:

  • the output of: cat /sys/class/dmi/id/{sys_vendor,product_name,product_sku,board_name,bios_version}
  • the acpidump (sudo acpidump > acpi.dat), if not already shared

Would you mind converting this PR to a draft while we work through this, so it is not merged as is?

Thanks again for the effort on this!

@shripad-jyothinath
shripad-jyothinath marked this pull request as draft November 23, 2026 13:31
@shripad-jyothinath

Copy link
Copy Markdown
Author

Hi Jack,

Thanks for the detailed review and guidance! Here are the requested DMI strings, ACPI dump, cache-bypassed register dumps across both configurations, and the reduction test results from live hardware testing on the Acer Swift Pro SFP14-55.


1. DMI Information & ACPI Dump

DMI Strings (cat /sys/class/dmi/id/{sys_vendor,product_name,product_sku,board_name,bios_version}):

  • sys_vendor: Acer
  • product_name: SFP14-55
  • product_sku: 0000000000000000
  • board_name: SFP14-55
  • bios_version: BM_BI_MTL326_IN008B_D

ACPI Table Dump:
Uploaded the full acpidump (3.6 MB) here:
https://gist.github.com/shripad-jyothinath/67f9ef7287963ce5f490c5320a210ab6

(Note regarding Windows warm-restart: This laptop runs pure Linux without a dual-boot Windows partition, so I was unable to capture a warm reboot directly from Windows. However, the runtime reduction testing on the live codec gave us very clear answers.)


2. Step 1: Cache-Bypassed Register Dumps

Dumps were captured directly from the SoundWire slave hardware registers via debugfs (start_address / num_bytes / go / read_buffer reading the RT722 SDCA slave at sdw:0:0:025d:0722:01).

Configuration A: Working Quirk (Sound audible, Delta SNR > +55 dB)

Register / Control State 1: Boot Idle State 2: Playback (hw:0,2) State 3: Stream Stopped
0x20:0x07 (MISC_CTRL1) 0x8000 0x8000 0x8000
0x20:0x10 (AMP_EAPD_CTL) 0x0260 0x0360 (EAPD high) 0x0260 (standby)
0x20:0x37 0xfc15 0xfc15 0xfc15
0x20:0x38 (CLSD_CTRL2) 0x890a 0x890a 0x890a
0x20:0x40 0x8800 0x8800 0x8800
0x5d:0x10000..4 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f
0x5f:0x00 (MISC_PWR0) 0xc732 0xc732 0xc732
0x5f:0x0b (AMP_PWR) 0x0100 (standby) 0x9900 (PLL + LDOs on) 0x0100 (power cut)
0x61:0x29 (AMP_PDE_FLOAT) 0x4141 0x4141 0x4141
PDE 0x23 (REQ / ACT PS) PS0 / PS0 PS0 / PS0 PS0 / PS0
PDE 0x41 (REQ / ACT PS) PS3 / PS3 PS0 / PS0 PS3 / PS3
FU06 Mute (L / R) 0x01 / 0x01 (Muted) 0x00 / 0x00 (Unmuted) 0x01 / 0x01 (Muted)
Amp Function Status 0x43 0x43 0x43

Configuration B: Generic Upstream Driver (Speaker silent)

Register / Control State 1: Boot Idle State 2: Playback (hw:0,2) State 3: Stream Stopped
0x20:0x07 (MISC_CTRL1) 0x0000 0x0000 0x0000
0x20:0x10 (AMP_EAPD_CTL) 0x0260 0x0260 0x0260
0x20:0x37 0x0000 0x0000 0x0000
0x20:0x38 (CLSD_CTRL2) 0x0000 0x0000 0x0000
0x20:0x40 0x0000 0x0000 0x0000
0x5d:0x10000..4 0000, 0000, 0000, 0025, 0000 0000, 0000, 0000, 0025, 0000 0000, 0000, 0000, 0025, 0000
0x5f:0x00 (MISC_PWR0) 0xc732 0xc732 0xc732
0x5f:0x0b (AMP_PWR) 0x0100 0x0100 (never powered) 0x0100
0x61:0x29 (AMP_PDE_FLOAT) 0x2323 0x2323 0x2323
PDE 0x23 (REQ / ACT PS) PS3 / PS3 PS0 / PS0 PS0 / PS0
PDE 0x41 (REQ / ACT PS) PS3 / PS3 PS3 / PS3 PS3 / PS3
FU06 Mute (L / R) 0x01 / 0x01 0x00 / 0x00 0x00 / 0x00
Amp Function Status 0x43 0x43 0x43

3. Step 2: Reduction Test Matrix

We tested the functional groups toggled via dynamic module parameters on live playback using a 1000 Hz reference tone and measured acoustic loopback via the onboard SoundWire DMIC (hw:0,4) using FFT SNR analysis.

The groups tested:

  • Group A: PDE entity 0x41 + AMP_PDE_FLOAT_CTL = 0x4141
  • Group B: MISC_CTRL1 (0x20:0x07) bit 15
  • Group C: Codec_D0 / amp power (0x5f:0x00, LDO1/LDO2_3, 0x5f:0x0b)
  • Group D: Amp EAPD (0x20:0x10)
  • Group E: Class-D values from AF04 FIT (0x20:0x37/0x38/0x40, 0x5d block, 0x61 entries, 0x2f03)

Test 1: Disabling One Group at a Time from Baseline (Working)

Configuration Speaker Output Delta SNR vs Baseline Verdict
All Groups Enabled (Baseline) AUDIBLE +61.8 dB Baseline working
Disable Group A (A=0, B..E=1) AUDIBLE +48.4 dB A is not strictly required
Disable Group B (B=0, A,C..E=1) AUDIBLE +58.2 dB B is not strictly required
Disable Group C (C=0, A,B,D,E=1) AUDIBLE +51.9 dB Power maintained in latch
Disable Group D (D=0, A..C,E=1) AUDIBLE +54.8 dB (Tested further below)
Disable Group E (E=0, A..D=1) AUDIBLE +55.9 dB E is not strictly required

Test 2: Enabling from Generic Preset (Clean Startup)

Starting from all groups disabled (pure silence, Delta SNR -0.4 dB):

Active Subset Speaker Output Delta SNR Verdict
All Groups Disabled (Generic) SILENT -0.4 dB Pure silence
Only Group A SILENT -4.8 dB Ineffective alone
Only Group B SILENT +3.2 dB Ineffective alone
Only Group C SILENT -7.6 dB Ineffective alone
Only Group D SILENT +0.3 dB Ineffective alone
Only Group E SILENT -1.0 dB Ineffective alone

Test 3: Finding the Minimal Working Subset

We tested combinations to find the exact minimal necessary set:

Configuration Speaker Output Delta SNR Key Finding
B + C + D + E (no A) AUDIBLE +55.7 dB Confirms Group A is not needed!
C + D + E (no A, no B) AUDIBLE +53.6 dB Confirms Group B is not needed!
B + C + D (no A, no E) AUDIBLE +57.8 dB Confirms Group E is not needed!
C + D (no A, no B, no E) AUDIBLE +52.3 dB Minimal working subset!
B + C (no A, no D, no E) SILENT -1.2 dB Without D (EAPD), amp is silent
B + D (no A, no C, no E) SILENT / Incomplete - Without C (Amp power), amp has no supply

4. Key Takeaways & Proposed Final Fix

  1. Your hypothesis about Group A was completely accurate!
    PDE 0x41 and FLOAT_CTL 0x4141 are not needed. The hardware default mapping to PDE 0x23 (0x2323) works cleanly with upstream's standard PDE23 power sequencing (reaches PS0 on stream start and PS3 on stop). We can completely drop modifying RT722_SDCA_ENT_PDE23 and drop Entity 0x41 handling.

  2. MISC_CTRL1 bit 15 (Group B) is not required for playback.
    Audio reaches the amplifier without needing bit 15 asserted.

  3. The true required subset is Group C + Group D:

    • Group C: Powering the amplifier PLL and LDOs in 0x5F:0x0B = 0x9800 during POST_PMU, and powering down to 0x0000 during PRE_PMD.
    • Group D: Raising EAPD (0x20:0x10 = 0x0360) with an 80ms settling delay on POST_PMU, and returning to 0x0260 on PRE_PMD.
    • Group E (Optional / Recommended): The Class-D filter tuning values from the AF04 table (0x20:0x38 = 0x890a, 0x20:0x37 = 0xfc15, 0x20:0x40 = 0x8800, and 0x5D registers). While basic audio plays without them, they provide the manufacturer-specified Class-D filter and timing characteristics for this hardware.

I can clean up the patch into a minimal, DMI-scoped quirk that only implements the C + D (+ E tuning) power sequence and leaves the upstream SDCA entity definitions completely untouched.

Let me know if you would like me to push the simplified patch for review!

@jack-cy-yu

Copy link
Copy Markdown

@shripad-jyothinath

Thanks a lot for the DMI strings, the ACPI dump and the very thorough reduction test. This is really helpful.

Some good news first: we checked internally, and the EAPD sequence in group D (0x20:0x10 bits [9:8] = 0x3 on stream start with an 80 ms delay, 0x2 on stream stop) matches what this platform is supposed to use. Group D is confirmed.

Group C (the manual amp PLL/LDO power on 0x5f:0x0b and friends) is different. It is not in the AF04 initialization table and not part of the platform sequence we have, so before turning it into an upstream patch we'd like to check whether it is really needed, or whether it is only compensating for something else.

Looking at the AF04 table in your ACPI dump, the amp power domain is entity 0x41 (AMP_PDE_FLOAT_CTL = 0x4141), and the Line3 power and mute are also floated to the amp function (0x61:0x01/0x1b/0x20/0x39/0x3d, e.g. 0x61:0x20 = 0x413e). With the upstream driver, PDE requests go to entity 0x23 with 0x2323, so nothing ever brings entity 0x41 to PS0. That could explain why the amp power had to be turned on by hand. Your earlier result that A is not needed was measured with C enabled, so it doesn't cover this case yet.

Could you run two more combinations? Please do a cold boot for each (shut down, unplug AC, wait ~10 s), and set the groups on the kernel command line or before the module loads, not by toggling them at runtime, so no state carries over from a previous configuration:

  1. A + E + D, with B and C disabled
    (PDE entity 0x41 + AMP_PDE_FLOAT_CTL 0x4141, the full AF04 table values, and the EAPD sequence, with no manual amp power)
  2. E + D, with A, B and C disabled
    (PDE stays at 0x23 / 0x2323)

For each, please report whether the speaker plays, and attach:

  • the dump during playback and the dump taken at least 5 seconds after playback stops (DAPM powers down after a ~5 s delay, so an earlier dump may still show the stream as active)
  • 0x5f:0x0b, 0x20:0x10 and the requested/actual power state of both PDE 0x23 and PDE 0x41 at each point
  • the value of 0x20:0x00 (we'd like to confirm the silicon version)

If combination 1 plays, the final fix can follow the platform description directly (AF04 table + EAPD sequence, no manual analog power), which will be much easier to justify upstream.

Thanks again for all the testing!

@shripad-jyothinath

Copy link
Copy Markdown
Author

Hi Jack,

Here are the results from testing the two combinations requested, including the silicon version register (0x20:0x00) and register dumps taken during playback and >5 seconds after playback stops.

(Note on the cold boot: The battery on this unit is currently depleted, so the reboot was performed with the AC adapter connected. However, the module parameters were passed at module load time via /etc/modprobe.d/ so that the codec driver initialized directly in each target state.)


Silicon Version

  • 0x20:0x00 = 0x3001

Summary of Results

Combination Configuration Speaker Output Acoustic Delta SNR Verdict
Combination 1 A + E + D (B=0, C=0) AUDIBLE +35.5 dB Plays clean stereo audio!
Combination 2 E + D (A=0, B=0, C=0) SILENT +3.6 dB (noise) Completely silent

Key Takeaways

  1. Combination 1 plays clean audio with no manual analog power!
    Your analysis was completely spot on: manual Group C (0x5F:0x0B) was indeed only compensating for Entity 0x41 not reaching PS0. When Entity 0x41 is transitioned to PS0 (AMP_PDE_FLOAT_CTL = 0x4141), the codec internal power sequencer automatically powers the Class-D amp in silicon without needing manual PLL/LDO writes.
  2. Combination 2 (staying at Entity 0x23) produces pure silence.
    When AMP_PDE_FLOAT_CTL remains at 0x2323 and only PDE 0x23 transitions to PS0, Entity 0x41 stays at PS3 and the amplifier stage is never powered up.
  3. The final fix is clean and strictly follows the platform specification:
    • AF04 table initialization (which Acer ACPI declares, setting AMP_PDE_FLOAT_CTL = 0x4141 to Entity 0x41).
    • Standard SDCA power management bringing Entity 0x41 to PS0 on stream start and PS3 on stop.
    • The platform-confirmed EAPD sequence in 0x20:0x10 (bits [9:8] = 0x3 with 80 ms delay on start, 0x2 on stop).
    • Zero manual writes to 0x5F:0x0B (Group C) and zero writes to MISC_CTRL1 bit 15 (Group B).

Register Comparison

Combination 1: A + E + D (B=0, C=0) - Speaker Plays

Register / Control State 1: Boot Idle State 2: Playback (hw:0,2) State 3: Stopped (>5s after stop)
0x20:0x00 (Silicon ID) 0x3001 0x3001 0x3001
0x20:0x07 (MISC_CTRL1) 0x0000 0x0000 0x0000
0x20:0x10 (AMP_EAPD_CTL) 0x0260 0x0360 (EAPD high) 0x0260 (standby)
0x20:0x37 0xfc15 0xfc15 0xfc15
0x20:0x38 (CLSD_CTRL2) 0x890a 0x890a 0x890a
0x20:0x40 0x8800 0x8800 0x8800
0x5d:0x10000..4 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f
0x5f:0x00 (MISC_PWR0) 0xc732 0xc732 0xc732
0x5f:0x0b (AMP_PWR) 0x0100 0x0100 (unmodified) 0x0100
0x61:0x29 (AMP_PDE_FLOAT) 0x4141 0x4141 0x4141
PDE 0x23 (REQ / ACT PS) PS0 / PS0 PS0 / PS0 PS0 / PS0
PDE 0x41 (REQ / ACT PS) PS3 / PS3 PS0 / PS0 PS3 / PS3
FU06 Mute (L / R) 0x01 / 0x01 (Muted) 0x00 / 0x00 (Unmuted) 0x01 / 0x01 (Muted)
Amp Function Status 0x43 0x43 0x43

Combination 2: E + D (A=0, B=0, C=0) - Speaker Silent

Register / Control State 1: Boot Idle State 2: Playback (hw:0,2) State 3: Stopped (>5s after stop)
0x20:0x00 (Silicon ID) 0x3001 0x3001 0x3001
0x20:0x07 (MISC_CTRL1) 0x0000 0x0000 0x0000
0x20:0x10 (AMP_EAPD_CTL) 0x0260 0x0360 0x0260
0x20:0x37 0xfc15 0xfc15 0xfc15
0x20:0x38 (CLSD_CTRL2) 0x890a 0x890a 0x890a
0x20:0x40 0x8800 0x8800 0x8800
0x5d:0x10000..4 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f 99ff, 7418, 0000, 0025, 5f5f
0x5f:0x00 (MISC_PWR0) 0xc732 0xc732 0xc732
0x5f:0x0b (AMP_PWR) 0x0100 0x0100 0x0100
0x61:0x29 (AMP_PDE_FLOAT) 0x2323 0x2323 0x2323
PDE 0x23 (REQ / ACT PS) PS3 / PS3 PS0 / PS0 PS3 / PS3
PDE 0x41 (REQ / ACT PS) PS3 / PS3 PS3 / PS3 (never reaches PS0) PS3 / PS3
FU06 Mute (L / R) 0x01 / 0x01 0x00 / 0x00 0x01 / 0x01
Amp Function Status 0x43 0x43 0x43

Full Register Dump (Combination 1)

Click to expand Combination 1 Full Dumps

State 2: During Playback

=== NID 0x20 Registers ===
0x20:0x00 = 0x3001
0x20:0x07 = 0x0000
0x20:0x10 = 0x0360
0x20:0x37 = 0xfc15
0x20:0x38 = 0x890a
0x20:0x40 = 0x8800

=== NID 0x5D Registers ===
0x5d:0x10000 = 0x99ff
0x5d:0x10001 = 0x7418
0x5d:0x10002 = 0x0000
0x5d:0x10003 = 0x0025
0x5d:0x10004 = 0x5f5f

=== NID 0x5F Registers ===
0x5f:0x00 = 0xc732
0x5f:0x0b = 0x0100

=== NID 0x61 Registers ===
0x61:0x00 = 0x0201
0x61:0x01 = 0x0100
0x61:0x02 = 0x0000
0x61:0x03 = 0x016e
0x61:0x04 = 0x10ec
0x61:0x05 = 0x0722
0x61:0x06 = 0x0000
0x61:0x08 = 0x0000
0x61:0x09 = 0x0000
0x61:0x0a = 0x0000
0x61:0x0b = 0x0000
0x61:0x0c = 0x0000
0x61:0x0d = 0x0000
0x61:0x0e = 0x0007
0x61:0x0f = 0x0000
0x61:0x10 = 0x2626
0x61:0x11 = 0x1515
0x61:0x12 = 0x0102
0x61:0x13 = 0x0304
0x61:0x14 = 0x1e0f
0x61:0x15 = 0x1e00
0x61:0x16 = 0x0102
0x61:0x17 = 0x0304
0x61:0x18 = 0x1f11
0x61:0x19 = 0x1f01
0x61:0x1b = 0x0600
0x61:0x1c = 0x0b0a
0x61:0x1d = 0x6869
0x61:0x1e = 0x0809
0x61:0x1f = 0x6667
0x61:0x20 = 0x413e
0x61:0x21 = 0x4b42
0x61:0x22 = 0x4040
0x61:0x23 = 0x3429
0x61:0x24 = 0x4112
0x61:0x25 = 0x2a12
0x61:0x26 = 0x2a00
0x61:0x27 = 0x0029
0x61:0x28 = 0x2a2a
0x61:0x29 = 0x4141
0x61:0x2a = 0x2100
0x61:0x2b = 0x0054
0x61:0x2c = 0x0000
0x61:0x2d = 0x0102
0x61:0x2e = 0x756e
0x61:0x2f = 0x0625
0x61:0x30 = 0x316b
0x61:0x31 = 0x6a06
0x61:0x32 = 0x614f
0x61:0x33 = 0x0102
0x61:0x34 = 0x636d
0x61:0x35 = 0x0102
0x61:0x36 = 0x0102
0x61:0x37 = 0x0102
0x61:0x38 = 0x1101
0x61:0x39 = 0x1041
0x61:0x3a = 0x1111
0x61:0x3b = 0x1110
0x61:0x3c = 0x0011
0x61:0x3d = 0x1041
0x61:0x3e = 0x1114
0x61:0x3f = 0x4444
0x61:0x40 = 0x1111
0x61:0x41 = 0x0000
0x61:0x42 = 0x0000
0x61:0x43 = 0x0000
0x61:0x44 = 0x0000
0x61:0x45 = 0x0000
0x61:0x46 = 0xa009
0x61:0x47 = 0x2029
0x61:0x48 = 0x202b
0x61:0x49 = 0x0080
0x61:0x4a = 0x0015
0x61:0x4b = 0x00ff
0x61:0x4c = 0x0009
0x61:0x4d = 0x0000
0x61:0x4e = 0x0000
0x61:0x4f = 0x0000
0x61:0x50 = 0x0000
0x61:0x51 = 0x0000
0x61:0x55 = 0x0002
0x61:0x56 = 0x0000
0x61:0x57 = 0x0000
0x61:0x60 = 0x1100
0x61:0x62 = 0x0000
0x61:0x64 = 0xcf00
0x61:0x65 = 0x000f
0x61:0x67 = 0x0c12
0x61:0x70 = 0x0101
0x61:0x71 = 0x0000
0x61:0x72 = 0x0000
0x61:0x73 = 0x0001
0x61:0x74 = 0x0000
0x61:0x75 = 0x0000
0x61:0x76 = 0x4141
0x61:0x77 = 0x0000
0x61:0x78 = 0x0000
0x61:0x79 = 0x0000
0x61:0x7a = 0x0000
0x61:0x7b = 0x0000
0x61:0x7c = 0x0030
0x61:0x80 = 0x0000

=== Amp Function SDCA Controls ===
PDE 0x23 REQ_PS = 0x00
PDE 0x23 ACT_PS = 0x00
PDE 0x41 REQ_PS = 0x00
PDE 0x41 ACT_PS = 0x00
FU06 MUTE L = 0x00
FU06 MUTE R = 0x00
Amp Function Status = 0x43

State 3: Stopped (>5s after stop)

=== NID 0x20 Registers ===
0x20:0x00 = 0x3001
0x20:0x07 = 0x0000
0x20:0x10 = 0x0260
0x20:0x37 = 0xfc15
0x20:0x38 = 0x890a
0x20:0x40 = 0x8800

=== NID 0x5D Registers ===
0x5d:0x10000 = 0x99ff
0x5d:0x10001 = 0x7418
0x5d:0x10002 = 0x0000
0x5d:0x10003 = 0x0025
0x5d:0x10004 = 0x5f5f

=== NID 0x5F Registers ===
0x5f:0x00 = 0xc732
0x5f:0x0b = 0x0100

=== NID 0x61 Registers ===
0x61:0x00 = 0x0201
0x61:0x01 = 0x0100
0x61:0x02 = 0x0000
0x61:0x03 = 0x016e
0x61:0x04 = 0x10ec
0x61:0x05 = 0x0722
0x61:0x06 = 0x0000
0x61:0x08 = 0x0000
0x61:0x09 = 0x0000
0x61:0x0a = 0x0000
0x61:0x0b = 0x0000
0x61:0x0c = 0x0000
0x61:0x0d = 0x0000
0x61:0x0e = 0x0007
0x61:0x0f = 0x0000
0x61:0x10 = 0x2626
0x61:0x11 = 0x1515
0x61:0x12 = 0x0102
0x61:0x13 = 0x0304
0x61:0x14 = 0x1e0f
0x61:0x15 = 0x1e00
0x61:0x16 = 0x0102
0x61:0x17 = 0x0304
0x61:0x18 = 0x1f11
0x61:0x19 = 0x1f01
0x61:0x1b = 0x0600
0x61:0x1c = 0x0b0a
0x61:0x1d = 0x6869
0x61:0x1e = 0x0809
0x61:0x1f = 0x6667
0x61:0x20 = 0x413e
0x61:0x21 = 0x4b42
0x61:0x22 = 0x4040
0x61:0x23 = 0x3429
0x61:0x24 = 0x4112
0x61:0x25 = 0x2a12
0x61:0x26 = 0x2a00
0x61:0x27 = 0x0029
0x61:0x28 = 0x2a2a
0x61:0x29 = 0x4141
0x61:0x2a = 0x2100
0x61:0x2b = 0x0054
0x61:0x2c = 0x0000
0x61:0x2d = 0x0102
0x61:0x2e = 0x756e
0x61:0x2f = 0x0625
0x61:0x30 = 0x316b
0x61:0x31 = 0x6a06
0x61:0x32 = 0x614f
0x61:0x33 = 0x0102
0x61:0x34 = 0x636d
0x61:0x35 = 0x0102
0x61:0x36 = 0x0102
0x61:0x37 = 0x0102
0x61:0x38 = 0x1101
0x61:0x39 = 0x1041
0x61:0x3a = 0x1111
0x61:0x3b = 0x1110
0x61:0x3c = 0x0011
0x61:0x3d = 0x1041
0x61:0x3e = 0x1114
0x61:0x3f = 0x4444
0x61:0x40 = 0x1111
0x61:0x41 = 0x0000
0x61:0x42 = 0x0000
0x61:0x43 = 0x0000
0x61:0x44 = 0x0000
0x61:0x45 = 0x0000
0x61:0x46 = 0xa009
0x61:0x47 = 0x2029
0x61:0x48 = 0x202b
0x61:0x49 = 0x0080
0x61:0x4a = 0x0015
0x61:0x4b = 0x00ff
0x61:0x4c = 0x0009
0x61:0x4d = 0x0000
0x61:0x4e = 0x0000
0x61:0x4f = 0x0000
0x61:0x50 = 0x0000
0x61:0x51 = 0x0000
0x61:0x55 = 0x0002
0x61:0x56 = 0x0000
0x61:0x57 = 0x0000
0x61:0x60 = 0x1100
0x61:0x62 = 0x0000
0x61:0x64 = 0xcf00
0x61:0x65 = 0x000f
0x61:0x67 = 0x0c12
0x61:0x70 = 0x0101
0x61:0x71 = 0x0000
0x61:0x72 = 0x0000
0x61:0x73 = 0x0001
0x61:0x74 = 0x0000
0x61:0x75 = 0x0000
0x61:0x76 = 0x4141
0x61:0x77 = 0x0000
0x61:0x78 = 0x0000
0x61:0x79 = 0x0000
0x61:0x7a = 0x0000
0x61:0x7b = 0x0000
0x61:0x7c = 0x0030
0x61:0x80 = 0x0000

=== Amp Function SDCA Controls ===
PDE 0x23 REQ_PS = 0x00
PDE 0x23 ACT_PS = 0x00
PDE 0x41 REQ_PS = 0x03
PDE 0x41 ACT_PS = 0x00
FU06 MUTE L = 0x01
FU06 MUTE R = 0x01
Amp Function Status = 0x43

I am ready to prepare and push the cleaned-up patch implementing this streamlined architecture (AF04 table + Entity 0x41 power sequencing + EAPD sequence) whenever you'd like!

@shripad-jyothinath
shripad-jyothinath marked this pull request as ready for review November 26, 2026 17:54
@jack-cy-yu

Copy link
Copy Markdown

@shripad-jyothinath
Please help to verify the attached patch, thanks.
0001-ASoC-rt722-sdca-add-speaker-quirk-for-Acer-SFP14-55-v2.patch

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