Skip to content

Nord: Add Nord audio fixes - #1626

Open
mohsRafi wants to merge 6 commits into
qualcomm-linux:qcom-7.3-esfrom
mohsRafi:Nord_audio_fixes
Open

mohsRafi wants to merge 6 commits into
qualcomm-linux:qcom-7.3-esfrom
mohsRafi:Nord_audio_fixes

Conversation

@mohsRafi

@mohsRafi mohsRafi commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Add Nord audio fixes for multi channel support and playback issue in Ride and RRD

FROMLIST: ASoC: pcm1681: Establish contact with the DAC lazily
FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support
FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound support
Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"
Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"
Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"

mohsRafi and others added 6 commits December 4, 2026 22:22
…ort"

Revert the old sound support commit as the audio changes are being moved
to the latest upstream commit.

This reverts commit 3513baa.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Revert the old sound support commit as the audio changes are being moved
to the latest upstream commit.

This reverts commit be4d99e.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
…ard"

Revert this commit since the corresponding change was dropped upstream.

This reverts commit d336668.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Enable audio on the nord-ride-embedded board. Add a soundcard node using
the qcom,nord-sndcard compatible.

Add PCM1681/ADAU1979 codec nodes on I2C18, with the PCM1681 system
clock supplied via MCLK0. The DAC control lines come off a TCA6408 I/O
expander on the same bus.

Describe DAC_ENABLE as the enable of two regulator-fixed supplies
(3.3V and 5V load switches) feeding the PCM1681, and the three MAX9892
click-and-pop suppressors as one simple-audio-amplifier on
CLICK_POP_MUTE_N, routed after VOUT1..6, so DAPM controls the mute.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20261021073633.2163128-5-shengchao.guo@oss.qualcomm.com
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
Enable audio on the nord-rrd board. Add a soundcard node using
the qcom,nord-sndcard compatible.

Add PCM1681/ADAU1979 codec nodes on I2C18, with the PCM1681 system
clock supplied via MCLK0.

Describe DAC_ENABLE as the enable of two regulator-fixed supplies
(3.3V and 5V load switches) feeding the PCM1681, and the two MAX9892
click-and-pop suppressors as one simple-audio-amplifier on
CLICK_POP_MUTE_N, routed after VOUT1..4, so DAPM controls the mute.

Link: https://lore.kernel.org/r/20261021073633.2163128-6-shengchao.guo@oss.qualcomm.com
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
The DAC clocks through an internal reset over the 65536 system clock
cycles that follow sck appearing, and its I2C control port does not
answer until that reset has completed. The driver waits out those cycles
right after enabling sck, in probe and in runtime resume, and syncs the
register cache once the wait is over.

That assumes sck is running by the time clk_prepare_enable() returns,
and not every provider works that way. On Qualcomm boards sck is an
LPASS clock exported by the q6prm clock controller, which turns the
enable into an APR command to the ADSP. The command succeeds, but the
pad is only driven while the audio interface the DAC hangs off is
active, and that interface is brought up from the machine driver's
hw_params, by snd_soc_dai_set_sysclk() on the CPU DAI. The machine
driver runs first and the codec DAI straight after it, so the DAC is
microseconds into a 5.3 ms reset when the first stream programs it:

 pcm1681 0-004c: ASoC error (-6): at snd_soc_dai_hw_params()
 pcm1681 0-004c: ASoC error (-6): at snd_soc_dai_digital_mute()

The second stream works, because by then sck has been running long
enough for the reset to complete, which makes the DAC look like it needs
a longer settle time than it does. The -6 is the i2c-qcom-geni mapping
of an address NACK, so the failure reads as a device that is not there
rather than one that is not ready yet.

Those failed writes also cost the register cache: regmap drops the cache
entry behind a write it could not complete, so the format and soft mute
writes of the failed stream take their registers out of the cache, and
reads of them go to a device that still is not answering.

Stop trying to pick the moment at which the device has to be reachable.
Keep the regmap in cache-only mode until the control port has answered
once, and do the waiting in pcm1681_ensure_ready(), called from
hw_params where the host interface is up and sck is known to be running.
Probe and runtime resume call it too, so a board whose sck runs
continuously is still set up as early as it was before, but neither
fails when the device stays quiet: failing probe would take the DAC away
for good over a clock that is simply not running yet, and while no
stream is running there is nothing that needs the device to be reachable
anyway. Resume only probes the control port, it leaves the reset to
hw_params rather than stalling a resume for a clock that may never
start.

A device that does answer is soft reset before the cache is replayed
onto it, so the cache describes the device instead of assuming the
registers still hold their power-on defaults.

Link: https://lore.kernel.org/all/20261204173012.3644350-1-mohammad.rafi.shaik@oss.qualcomm.com/
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
@qlijarvis

Copy link
Copy Markdown

PR #1626 — validate-patch

PR: #1626

Verdict Issues Detailed Report
❌ 0 Full report

Final Summary

  1. Lore link present: Partial - 3/6 commits have lore links (patches 4, 5, 6); 3/6 are reverts without lore links (patches 1, 2, 3)

  2. Lore link matches PR commits: Yes for patches 4/6, 5/6, 6/6 - diff content is faithful to lore, but patch 6/6 removed the Assisted-by attribution

  3. Upstream patch status: ⏳ Decision Pending - Patches 4/6 and 5/6 have positive reviews (RFC v2, Oct 21); Patch 6/6 just posted today (Dec 4) with no review activity yet

  4. PR present in qcom-next/topics: Fail - 2/6 commit(s) are missing from both qcom-next and topics

Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #1626 - "Revert old audio patches and apply latest upstream versions"
Upstream commits:


Commit-by-Commit Analysis

Patch 1/6: Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"

Check Status Note
Lore link present ❌ No lore link (revert of PENDING commit - expected)
Commit message ✅ Clear revert rationale provided
Integration presence ❌ Missing from qcom-next and topics

Issue: This revert commit is not present in qcom-next or topics, but the PR is attempting to merge it.


Patch 2/6: Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"

Check Status Note
Lore link present ❌ No lore link (revert of PENDING commit - expected)
Commit message ✅ Clear revert rationale provided
Integration presence ❌ Missing from qcom-next and topics

Issue: This revert commit is not present in qcom-next or topics, but the PR is attempting to merge it.


Patch 3/6: Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"

Check Status Note
Lore link present ❌ No lore link provided for the revert
Commit message ✅ States "corresponding change was dropped upstream"
Integration presence ✅ Present in topics at e3cbf0957bd2

Issue: Missing lore link to the original FROMLIST patch being reverted. Should reference the upstream discussion showing the patch was dropped.


Patch 4/6: FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound support

Check Status Note
Subject matches upstream ✅ Identical to lore RFC v2 4/5
Body preserves rationale ✅ Complete description preserved
Fixes tag present/correct N/A No Fixes tag (new feature)
Authorship preserved ⚠️ FROMLIST authorship issue
Backport note N/A Not a backport
Integration presence ✅ Present in qcom-next

Critical Issue - Authorship:

  • Lore patch author: Mohammad Rafi Shaik (in From: and first Signed-off-by:)
  • PR commit author: Mohammad Rafi Shaik (in From:)
  • Lore patch also has: Shawn Guo Signed-off-by: (second)
  • PR commit has: Both Signed-off-by: lines preserved ✅

The authorship is correct for a FROMLIST commit. The original lore author (Mohammad Rafi Shaik) is preserved in both From: and the first Signed-off-by:, with Shawn Guo's sign-off also preserved.


Patch 5/6: FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support

Check Status Note
Subject matches upstream ✅ Identical to lore RFC v2 5/5
Body preserves rationale ✅ Complete description preserved
Fixes tag present/correct N/A No Fixes tag (new feature)
Authorship preserved ⚠️ FROMLIST authorship issue
Backport note N/A Not a backport
Integration presence ✅ Present in qcom-next

Critical Issue - Authorship:

  • Lore patch author: Shawn Guo (only Signed-off-by: in lore)
  • PR commit author: Shawn Guo (in From:)
  • PR commit has: Only Shawn Guo Signed-off-by: ✅

The authorship is correct. The lore patch was authored by Shawn Guo, and the PR commit correctly preserves this.


Patch 6/6: FROMLIST: ASoC: pcm1681: Establish contact with the DAC lazily

Check Status Note
Subject matches upstream ✅ Identical to lore patch
Body preserves rationale ✅ Complete technical description preserved
Fixes tag present/correct ✅ Fixes: 8987e9a24f45 correctly preserved
Authorship preserved ✅ Mohammad Rafi Shaik in both lore and PR
Assisted-by LLM tag ❌ Removed from PR (was in lore)
Integration presence ✅ Present in topics at 68d11eb95b9c

Critical Issue - Assisted-by tag:

  • Lore patch has: Assisted-by: Claude:claude-opus-5-5
  • PR commit: Missing this tag

The lore patch explicitly credits LLM assistance. The PR commit has removed this attribution, which violates transparency requirements for AI-assisted contributions.


Diff Comparison

Patch Files Status Notes
1/6 nord-embedded.dtsi, nord-ride-embedded.dts N/A Revert - no lore comparison
2/6 nord-rrd.dts N/A Revert - no lore comparison
3/6 pcm1681.c N/A Revert - no lore comparison
4/6 nord-embedded.dtsi, nord-ride-embedded.dts ✅ Content matches lore RFC v2 4/5
5/6 nord-rrd.dts ✅ Content matches lore RFC v2 5/5
6/6 pcm1681.c ✅ Content matches lore patch

Upstream Patch Status

Commit Community Verdict
Patch 4/6 (nord-ride-embedded sound) ⏳ Decision Pending - RFC v2 posted Oct 21, 2026; has Reviewed-by from Abel Vesa, Bartosz Golaszewski, and Konrad Dybcio; no maintainer merge confirmation yet
Patch 5/6 (nord-rrd sound) ⏳ Decision Pending - RFC v2 posted Oct 21, 2026; has Reviewed-by from Abel Vesa, Bartosz Golaszewski, and Konrad Dybcio; no maintainer merge confirmation yet
Patch 6/6 (pcm1681 lazy init) ⏳ Decision Pending - Posted Dec 4, 2026 (today); no review activity yet in lore thread

Note: All three FROMLIST patches are still under review. Patches 4/6 and 5/6 have positive review signals but no confirmed merge. Patch 6/6 was just posted today.


Integration Presence (from integration_presence_report.md)

Commit qcom-next topics Final Status
1/6 (Revert nord-ride-embedded) ❌ Missing ❌ Missing ❌ MISSING
2/6 (Revert nord-rrd) ❌ Missing ❌ Missing ❌ MISSING
3/6 (Revert pcm1681 sck) ⚠️ Partial ✅ Present (e3cbf0957bd2) ✅ Present
4/6 (FROMLIST nord-ride-embedded) ✅ Present Skipped ✅ Present
5/6 (FROMLIST nord-rrd) ✅ Present Skipped ✅ Present
6/6 (FROMLIST pcm1681 lazy) ⚠️ Partial ✅ Present (68d11eb95b9c) ✅ Present

Overall: 4/6 commits present, 2/6 commits missing from integration branches.


Issues Found

  1. Missing Integration Presence (CRITICAL):

    • Patches 1/6 and 2/6 (revert commits) are not present in qcom-next or topics
    • These reverts are prerequisites for the new FROMLIST patches
    • Merging this PR would create an inconsistent state
  2. Missing Assisted-by Attribution (CRITICAL):

    • Patch 6/6 removed Assisted-by: Claude:claude-opus-5-5 from the lore patch
    • This violates transparency requirements for AI-assisted contributions
    • The lore patch explicitly credits LLM assistance; the PR must preserve this
  3. Missing Lore Link for Revert:

    • Patch 3/6 reverts a FROMLIST commit but provides no lore link to the original patch
    • Should reference the upstream discussion showing the patch was dropped
  4. Upstream Status:

    • All three FROMLIST patches (4/6, 5/6, 6/6) are still under review
    • Patch 6/6 was posted today (Dec 4, 2026) with no review activity yet
    • Patches 4/6 and 5/6 have positive reviews but no maintainer merge confirmation

Recommendation

DO NOT MERGE - Critical issues must be resolved:

  1. Investigate missing revert commits: Patches 1/6 and 2/6 are not in qcom-next/topics. Either:

    • These reverts need to be merged to qcom-next first, OR
    • The PR description is incorrect about what's being reverted
  2. Restore Assisted-by attribution: Patch 6/6 must include Assisted-by: Claude:claude-opus-5-5 to match the lore patch and maintain transparency about AI assistance.

  3. Add lore link to patch 3/6: Reference the original FROMLIST patch being reverted and the upstream discussion showing it was dropped.

  4. Consider upstream timing: Patch 6/6 was posted today and has no review activity. Consider waiting for upstream feedback before merging.


Final Summary

  1. Lore link present: Partial - 3/6 commits have lore links (patches 4, 5, 6); 3/6 are reverts without lore links (patches 1, 2, 3)

  2. Lore link matches PR commits: Yes for patches 4/6, 5/6, 6/6 - diff content is faithful to lore, but patch 6/6 removed the Assisted-by attribution

  3. Upstream patch status: ⏳ Decision Pending - Patches 4/6 and 5/6 have positive reviews (RFC v2, Oct 21); Patch 6/6 just posted today (Dec 4) with no review activity yet

  4. PR present in qcom-next/topics: Fail - 2/6 commits (patches 1/6 and 2/6) are missing from both qcom-next and topics; 4/6 commits are present

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 27cd2ba09b3377fea4e69efb419d44ca159c2bac
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/6 [PATCH 1/6] Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/6 [PATCH 2/6] Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
3/6 [PATCH 3/6] Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when partial - subject or partial tree evidence found, but full change was not verified present - exact patch-id match at e3cbf0957bd210fc2639c79e4b69f747406a435c present
4/6 [PATCH 4/6] FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound present - all checked added lines are present skipped - not checked because qcom-next already contains the change present
5/6 [PATCH 5/6] FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support present - all checked added lines are present skipped - not checked because qcom-next already contains the change present
6/6 [PATCH 6/6] FROMLIST: ASoC: pcm1681: Establish contact with the DAC partial - subject or partial tree evidence found, but full change was not verified present - exact patch-id match at 68d11eb95b9c68ed0ed1600a18c9f8486c642d8f present

Final Status

overall_status: FAIL
present_commits: 4/6
partial_commits: 0/6
missing_commits: 2/6
topics_checked_for_commits: 4/6
final_summary: PR present in qcom-next/topics: Fail - 2/6 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #1626 — checker-log-analyzer

PR: #1626
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/47391264998

Checker Result Summary
Checker Result Summary
checkpatch ❌ 1 warning: Unknown commit ID in Fixes tag
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Pre-existing camera/video codec binding issues (not caused by PR)
sparse-check ✅ Passed
check-uapi-headers ✅ Passed (no UAPI changes)
check-patch-compliance ❌ 5 failures: 3 Revert commits missing prefix, 2 content mismatches
tag-check ❌ 3 Revert commits missing required prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1626 - Sound support updates for nord-ride-embedded and nord-rrd
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/47391264998

Checker Result Summary
checkpatch ❌ 1 warning: Unknown commit ID in Fixes tag
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Pre-existing camera/video codec binding issues (not caused by PR)
sparse-check ✅ Passed
check-uapi-headers ✅ Passed (no UAPI changes)
check-patch-compliance ❌ 5 failures: 3 Revert commits missing prefix, 2 content mismatches
tag-check ❌ 3 Revert commits missing required prefix

❌ checkpatch

Root cause: Commit 2772efb references a Fixes tag with commit ID 8987e9a24f45 that is not reachable in the current tree.

Failure details:

WARNING: Unknown commit id '8987e9a24f45', maybe rebased or not pulled?
#54: 
Fixes: 8987e9a24f45 ("ASoC: codec: pcm1681: Add optional SCK clock and runtime PM support")

2772efb856dbaa3085f6e5d6b6108df8a45cea6b total: 0 errors, 1 warnings, 0 checks, 229 lines checked

Fix:

  1. Verify the Fixes tag references the correct upstream commit SHA
  2. If the commit is from a different tree/branch, ensure it's merged into the base branch first
  3. If the SHA is incorrect, update it to the correct commit ID:
    git rebase -i <base_sha>   # mark commit as 'edit'
    # Edit commit message to fix the Fixes: line
    git commit --amend
    git rebase --continue

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git <base>..<head>

❌ dtb-check

Root cause: Pre-existing camera and video codec binding validation errors in nord-ride-embedded DTBs — not introduced by this PR.

Failure details:

arch/arm64/boot/dts/qcom/nord-ride-embedded.dtb: video-codec@aa00000 (qcom,nord-iris): 
  non-pixel:iommus: [[203, 2368, 32], [203, 2372, 0], [203, 2400, 32]] is too long

arch/arm64/boot/dts/qcom/nord-ride-embedded-camx-el2.dtb: qcom,cam-cpas@9a01000 (qcom,cam-cpas): 
  clocks-option: [...] is not of type 'object', 'integer', 'array', 'boolean', 'null'

[50+ similar errors for camera ICC nodes: level2-rt-wr, ipe-*, ife-*, icp*, etc.]

Analysis:

  • This PR only modifies sound nodes (adding/removing sound {} blocks, pcm1681, adau1979 codec references)
  • The dtb-check failures are all related to camera (qcom,cam-cpas, ife-*, ipe-*) and video codec (video-codec@aa00000) nodes
  • These errors are pre-existing tree issues that get exposed when the DTBs are rebuilt, but were not caused by the sound changes in this PR
  • The checker's baseline subtraction should have filtered these out if they existed at base_sha, but they appear anyway — likely indicating incomplete base build or new DTB variants being built

Verdict: These dtb-check failures are false positives for this PR. The sound changes do not touch camera or video codec nodes.

Reproduce locally:

make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/nord-ride-embedded.dtb

❌ check-patch-compliance

Root cause: Three Revert commits lack the required prefix before "Revert", and two FROMLIST commits have content differences from their upstream links.

Failure details:

Checking commit: Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"
Commit summary does not start with a required prefix

Checking commit: Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"
Commit summary does not start with a required prefix

Checking commit: Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"
Commit summary does not start with a required prefix

Checking commit: FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound support
Change is different from the one mentioned in Link

Checking commit: FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support
Change is different from the one mentioned in Link

Fix:

For the 3 Revert commits:
Revert commits must carry a prefix before the word "Revert". Add UPSTREAM:, FROMLIST:, or BACKPORT: depending on the status of the original commit being reverted:

git rebase -i <base_sha>
# Mark each Revert commit as 'edit'

# For each Revert commit:
git commit --amend -m "FROMLIST: Revert \"PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support\""
# or
git commit --amend -m "UPSTREAM: Revert \"FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card\""

git rebase --continue

For the 2 content mismatch commits:
Fetch the upstream patches and compare:

# Extract Link: URL from each commit message
git log --format="%H %B" <base>..<head> | grep "Link:"

# For each Link URL:
b4 am --single-message -C -l -3 <link> -o /tmp/upstream

# Compare the diff content:
diff <(git format-patch -1 <sha> --stdout | awk '/^diff/,/^--$/' | grep -E '^[+-][^+-]') \
     <(awk '/^diff/,/^--$/' /tmp/upstream/*.mbx | grep -E '^[+-][^+-]')

If the differences are:

  • Context-only shifts → Not a real issue; checker limitation
  • Legitimate adaptations (e.g., different base tree) → Document in commit message: "Adapted for "
  • Missing hunks → Add them
  • Extra hunks → Remove or attribute separately

❌ tag-check (subject prefix)

Root cause: Three Revert commits do not start with a required subject-line prefix tag.

Applies to: All branches except qcom-next and qcom-next-staging. (Unable to confirm target branch due to gh auth failure, but based on PR workflow this check likely applies.)

Failure details:

Commit: Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"
Commit: Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"
Commit: Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"

Fix: Same as check-patch-compliance fix above — add a prefix before "Revert":

git rebase -i <base_sha>
# Mark each Revert commit as 'edit'

git commit --amend -m "FROMLIST: Revert \"PENDING: ...\""
# or
git commit --amend -m "UPSTREAM: Revert \"FROMLIST: ...\""

git rebase --continue

Choose the correct prefix based on the revert's upstream status:

  • If the revert itself is posted to lore → FROMLIST:
  • If the revert is merged into Linus's tree → UPSTREAM:
  • If the revert is in a maintainer tree → FROMGIT:

Verdict

5 blockers must be fixed before merge:

  1. checkpatch: Fix or verify the Fixes tag commit SHA (1 commit)
  2. check-patch-compliance: Add prefix to 3 Revert commits
  3. check-patch-compliance: Resolve content mismatch for 2 FROMLIST commits (verify with b4)
  4. tag-check: Add prefix to 3 Revert commits (same as Adding Email Checker  #2)

dtb-check failures are false positives — they are pre-existing camera/video codec binding issues unrelated to the sound changes in this PR.

@qlijarvis

Copy link
Copy Markdown

PR #1626 — validate-patch

PR: #1626

Verdict Issues Detailed Report
⚠️ 0 Full report

Final Summary

  1. Lore link present: Not provided in agent output
  2. Lore link matches PR commits: Not provided in agent output
  3. Upstream patch status: Not provided in agent output
  4. PR present in qcom-next/topics: Fail - 2/6 commit(s) are missing from both qcom-next and topics
Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #1626 - Audio support updates for Nord platform
Verdict: ⚠️ PARTIAL

This PR contains 6 commits: 3 reverts (1-3) and 3 FROMLIST additions (4-6).


Commit 1/6: Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"

Upstream: N/A (revert commit)
Verdict: ✅ PASS

Commit Message

Check Status Note
Subject matches upstream N/A Revert commit
Body preserves rationale ✅ Clear rationale provided
Fixes tag present/correct N/A Not applicable for reverts
Authorship preserved ✅ Mohammad Rafi Shaik
Backport note N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-embedded.dtsi ✅ Removes pinctrl nodes
arch/arm64/boot/dts/qcom/nord-ride-embedded.dts ✅ Removes sound node and codec definitions

Final Summary

  1. Lore link present: No — revert commit; no lore link expected or required
  2. Lore link matches PR commits: N/A — revert commit
  3. Upstream patch status: N/A — revert of vendor-only PENDING commit
  4. PR present in qcom-next/topics: No — missing from both qcom-next and topics

Commit 2/6: Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"

Upstream: N/A (revert commit)
Verdict: ✅ PASS

Commit Message

Check Status Note
Subject matches upstream N/A Revert commit
Body preserves rationale ✅ Clear rationale provided
Fixes tag present/correct N/A Not applicable for reverts
Authorship preserved ✅ Mohammad Rafi Shaik
Backport note N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-rrd.dts ✅ Removes sound node and codec definitions

Final Summary

  1. Lore link present: No — revert commit; no lore link expected or required
  2. Lore link matches PR commits: N/A — revert commit
  3. Upstream patch status: N/A — revert of vendor-only PENDING commit
  4. PR present in qcom-next/topics: No — missing from both qcom-next and topics

Commit 3/6: Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"

Upstream: N/A (revert commit)
Verdict: ✅ PASS

Commit Message

Check Status Note
Subject matches upstream N/A Revert commit
Body preserves rationale ✅ States "corresponding change was dropped upstream"
Fixes tag present/correct N/A Not applicable for reverts
Authorship preserved ✅ Mohammad Rafi Shaik
Backport note N/A Not a backport

Diff

File Status Notes
sound/soc/codecs/pcm1681.c ✅ Reverts previous FROMLIST changes

Final Summary

  1. Lore link present: No — revert commit; no lore link expected or required
  2. Lore link matches PR commits: N/A — revert commit
  3. Upstream patch status: N/A — revert of FROMLIST commit that was dropped upstream
  4. PR present in qcom-next/topics: Yes — present in topics at e3cbf0957bd210fc2639c79e4b69f747406a435c

Commit 4/6: FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound support

Upstream: https://lore.kernel.org/r/20261021073633.2163128-5-shengchao.guo@oss.qualcomm.com
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ✅ Matches lore patch 4/5 from RFC v2 series
Body preserves rationale ✅ Key description preserved
Fixes tag present/correct N/A Not a fix
Authorship preserved ❌ FAIL — lore author is Mohammad Rafi Shaik, but PR shows Mohammad Rafi Shaik in From with Shawn Guo's SoB added
Backport note N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-embedded.dtsi ⚠️ Content mismatch — PR adds 30 lines, lore adds 30 lines but at different line numbers (context differs)
arch/arm64/boot/dts/qcom/nord-ride-embedded.dts ❌ Content mismatch — PR adds 142 lines, lore adds 166 lines; PR is missing ~24 lines of content

Issues

  1. Authorship mismatch: The lore patch shows From: Mohammad Rafi Shaik with Signed-off-by: Mohammad Rafi Shaik and Signed-off-by: Shawn Guo. The PR commit shows From: Mohammad Rafi Shaik with Link: and then Signed-off-by: Shawn Guo. The order and structure differ from the lore original.

  2. Content divergence: The PR commit adds 172 lines total, but the lore patch adds 196 lines. The PR is missing approximately 24 lines of content compared to the upstream lore patch. Specifically:

    • Lore patch includes TCA6408 I/O expander node at expander0: gpio@20
    • Lore patch includes more complete codec definitions
    • PR appears to be a subset of the lore patch

Verdict

Merge with caution — the PR commit is not a faithful representation of the lore patch. The content is incomplete compared to upstream.

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/r/20261021073633.2163128-5-shengchao.guo@oss.qualcomm.com
  2. Lore link matches PR commits: No — PR is missing ~24 lines of content from the lore patch (expander0 node and related definitions)
  3. Upstream patch status: ⏳ Decision Pending — RFC v2 series posted Oct 21, 2026; no maintainer acceptance/rejection signals found in thread
  4. PR present in qcom-next/topics: Yes — present in qcom-next

Commit 5/6: FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support

Upstream: https://lore.kernel.org/r/20261021073633.2163128-6-shengchao.guo@oss.qualcomm.com
Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream ✅ Matches lore patch 5/5 from RFC v2 series
Body preserves rationale ✅ Key description preserved
Fixes tag present/correct N/A Not a fix
Authorship preserved ✅ Lore author is Shawn Guo, PR author is Shawn Guo
Backport note N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-rrd.dts ⚠️ Minor content difference — PR adds 145 lines, lore adds 153 lines; PR is missing ~8 lines

Issues

  1. Minor content divergence: The PR commit adds 145 lines, but the lore patch adds 153 lines. The difference appears to be in the codec node definitions or regulator descriptions. The core functionality is present but some details may differ.

Verdict

Review recommended — the PR commit is mostly faithful to the lore patch but has minor content differences.

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/r/20261021073633.2163128-6-shengchao.guo@oss.qualcomm.com
  2. Lore link matches PR commits: Mostly — minor content differences (~8 lines)
  3. Upstream patch status: ⏳ Decision Pending — RFC v2 series posted Oct 21, 2026; no maintainer acceptance/rejection signals found in thread
  4. PR present in qcom-next/topics: Yes — present in qcom-next

Commit 6/6: FROMLIST: ASoC: pcm1681: Establish contact with the DAC lazily

Upstream: https://lore.kernel.org/all/20261204173012.3644350-1-mohammad.rafi.shaik@oss.qualcomm.com/
Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream ✅ Matches lore patch exactly
Body preserves rationale ✅ Full technical description preserved
Fixes tag present/correct ✅ Fixes: 8987e9a24f45 present
Authorship preserved ✅ Mohammad Rafi Shaik in both
Backport note N/A Not a backport

Diff

File Status Notes
sound/soc/codecs/pcm1681.c ✅ Content appears to match lore patch

Issues

  1. Assisted-by: LLM tag: The lore patch contains Assisted-by: Claude:claude-opus-5-5 which is not a standard kernel tag. This should be removed or converted to a comment before upstream submission. The PR commit includes this tag, which may cause issues during upstream review.

Verdict

Merge with note — the commit is faithful to the lore patch, but the Assisted-by: Claude tag is non-standard and may need to be addressed before upstream acceptance.

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/all/20261204173012.3644350-1-mohammad.rafi.shaik@oss.qualcomm.com/
  2. Lore link matches PR commits: Yes — content matches
  3. Upstream patch status: ⏳ Decision Pending — standalone patch posted Dec 4, 2026; very recent, no community feedback yet
  4. PR present in qcom-next/topics: Yes — present in topics at 68d11eb95b9c68ed0ed1600a18c9f8486c642d8f

Overall PR Assessment

Summary by Commit Type

Reverts (1-3): ✅ All three revert commits are correctly formatted with clear rationale. Two are missing from qcom-next/topics (expected for new reverts), one is present in topics.

FROMLIST additions (4-6):

  • Commit 4: ❌ FAIL — incomplete content compared to lore (missing ~24 lines including expander0 node)
  • Commit 5: ⚠️ PARTIAL — minor content differences (~8 lines)
  • Commit 6: ⚠️ PARTIAL — faithful to lore but includes non-standard Assisted-by: Claude tag

Key Issues

  1. Commit 4 content incompleteness: The most significant issue is that commit 4/6 is missing substantial content from its lore source (TCA6408 I/O expander node and related definitions). This is not a faithful FROMLIST representation.

  2. Integration presence: 2 of 6 commits (the first two reverts) are missing from both qcom-next and topics, which is expected for new revert commits but should be verified.

  3. Upstream status: All FROMLIST commits (4-6) are from patches that are still under review (RFC v2 series from Oct 2026, standalone patch from Dec 4, 2026). No maintainer acceptance signals found yet.

  4. Non-standard tag: Commit 6 includes Assisted-by: Claude:claude-opus-5-5 which is not a recognized kernel tag and may cause upstream review issues.

Recommendation

Do not merge as-is. Commit 4/6 needs to be corrected to include the full content from the lore patch (specifically the TCA6408 expander0 node and related definitions). Once corrected, the PR can be reconsidered.

For commit 6, consider whether the Assisted-by: Claude tag should be retained or removed before merging, as it may complicate upstream acceptance.

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 27cd2ba09b3377fea4e69efb419d44ca159c2bac
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/6 [PATCH 1/6] Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/6 [PATCH 2/6] Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
3/6 [PATCH 3/6] Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when partial - subject or partial tree evidence found, but full change was not verified present - exact patch-id match at e3cbf0957bd210fc2639c79e4b69f747406a435c present
4/6 [PATCH 4/6] FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound present - all checked added lines are present skipped - not checked because qcom-next already contains the change present
5/6 [PATCH 5/6] FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support present - all checked added lines are present skipped - not checked because qcom-next already contains the change present
6/6 [PATCH 6/6] FROMLIST: ASoC: pcm1681: Establish contact with the DAC partial - subject or partial tree evidence found, but full change was not verified present - exact patch-id match at 68d11eb95b9c68ed0ed1600a18c9f8486c642d8f present

Final Status

overall_status: FAIL
present_commits: 4/6
partial_commits: 0/6
missing_commits: 2/6
topics_checked_for_commits: 4/6
final_summary: PR present in qcom-next/topics: Fail - 2/6 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #1626 — checker-log-analyzer

PR: #1626
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/47399459613

Checker Result Summary
Checker Result Summary
checkpatch ✅ All commits pass style checks
dt-binding-check ⏭️ No binding changes
dtb-check ❌ Pre-existing tree issues (not caused by PR)
sparse-check ✅ No sparse warnings
check-uapi-headers ✅ No UAPI changes
check-patch-compliance ❌ 3 Revert commits missing prefix; 2 commits with content mismatch
tag-check ❌ 3 Revert commits missing required prefix (mandatory for qcom-7.3-es)

Detailed report: Full report

Checker analysis — click to expand

Let me output the report directly:

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1626 - Update sound support for nord boards
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/47399459613
Target branch: qcom-7.3-es

Checker Result Summary
checkpatch ✅ All commits pass style checks
dt-binding-check ⏭️ No binding changes
dtb-check ❌ Pre-existing tree issues (not caused by PR)
sparse-check ✅ No sparse warnings
check-uapi-headers ✅ No UAPI changes
check-patch-compliance ❌ 3 Revert commits missing prefix; 2 commits with content mismatch
tag-check ❌ 3 Revert commits missing required prefix (mandatory for qcom-7.3-es)

❌ check-patch-compliance

Root cause: Three Revert commits lack the required prefix before "Revert", and two FROMLIST commits have content differences from their upstream links.

Failure details:

Prefix failures (3 commits):

Checking commit: Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support"
Commit summary does not start with a required prefix

Checking commit: Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support"
Commit summary does not start with a required prefix

Checking commit: Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card"
Commit summary does not start with a required prefix

Content mismatch (2 commits):

Checking commit: FROMLIST: arm64: dts: qcom: nord-ride-embedded: Add sound support
Change is different from the one mentioned in Link

Checking commit: FROMLIST: arm64: dts: qcom: nord-rrd: Add sound support
Change is different from the one mentioned in Link

Fix:

For Revert commits: Add a valid prefix before "Revert":

git rebase -i <base_sha>   # mark each Revert commit as 'edit'

# For commit 1:
git commit --amend -m "UPSTREAM: Revert \"PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support\""

# For commit 2:
git commit --amend -m "UPSTREAM: Revert \"PENDING: arm64: dts: qcom: nord-rrd: Add sound support\""

# For commit 3:
git commit --amend -m "UPSTREAM: Revert \"FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card\""

git rebase --continue

Choose the appropriate prefix:

  • UPSTREAM: if the revert is from mainline
  • FROMLIST: if the revert is from a posted patch
  • BACKPORT: if the revert is backported with modifications

For content mismatch: Verify the differences are intentional adaptations:

# Fetch the upstream patch
b4 am --single-message -C -l -3 <link-from-commit-message> -o /tmp/upstream

# Compare with local commit
git format-patch -1 <commit-sha> --stdout > /tmp/local.patch
diff <(grep -E '^[+-][^+-]' /tmp/local.patch | grep -v '^diff\|^index\|^---\|^+++') \
     <(grep -E '^[+-][^+-]' /tmp/upstream/*.mbx | grep -v '^diff\|^index\|^---\|^+++')

If differences are legitimate adaptations (e.g., different base, context adjustments), document them in the commit message. If differences are unintended, align the patch with upstream.

Reproduce locally:

cd kernel-checkers
./check-patch-compliance.sh <base_sha> <head_sha>

❌ tag-check

Root cause: Three Revert commits do not start with a required subject-line prefix tag. The target branch is qcom-7.3-es (not qcom-next or qcom-next-staging), so every commit must have a prefix.

Failure details:

The following commits are missing a prefix tag:

Commit 02aa14b863f0: "Revert "PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support""
Commit dc5e744211f0: "Revert "PENDING: arm64: dts: qcom: nord-rrd: Add sound support""
Commit ad690d6ee6d7: "Revert "FROMLIST: ASoC: codec: pcm1681: Acquire sck when bound to a card""

All branches except qcom-next and qcom-next-staging require one of:
FROMLIST: / FROMGIT: / UPSTREAM: / BACKPORT: / QCLINUX: / PENDING: / WORKAROUND:

Fix:

git rebase -i <base_sha>   # mark each Revert commit as 'edit'

# Add the appropriate prefix before "Revert"
git commit --amend -m "UPSTREAM: Revert \"PENDING: arm64: dts: qcom: nord-ride-embedded: Add sound support\""
# (repeat for other two commits)

git rebase --continue

Choose the correct prefix based on the revert's origin:

  • Posted to lore but not yet merged → FROMLIST:
  • In a maintainer tree → FROMGIT:
  • Merged into Linus's tree → UPSTREAM:
  • Backported with modifications → BACKPORT:

Reproduce locally:

git log <base>..<head> --format="%H %s" | while read sha subject; do
  if ! echo "$subject" | grep -qE '^(FROMLIST|FROMGIT|UPSTREAM|BACKPORT|QCLINUX|PENDING|WORKAROUND):'; then
    echo "MISSING prefix: $sha $subject"
  fi
done

⚠️ dtb-check (pre-existing tree issues)

Root cause: DTB validation errors in nord-ride-embedded.dtb and nord-ride-embedded-camx-el2.dtb, but these are pre-existing tree issues not introduced by this PR.

Failure details:

arch/arm64/boot/dts/qcom/nord-ride-embedded.dtb: video-codec@aa00000 (qcom,nord-iris): 
  non-pixel:iommus: [[203, 2368, 32], [203, 2372, 0], [203, 2400, 32]] is too long

arch/arm64/boot/dts/qcom/nord-ride-embedded-camx-el2.dtb: qcom,cam-cpas@9a01000 (qcom,cam-cpas): 
  clocks-option: [...] is not of type 'object', 'integer', 'array', 'boolean', 'null'

arch/arm64/boot/dts/qcom/nord-ride-embedded-camx-el2.dtb: level2-rt-wr: 
  parent-node: [...] is not of type 'object', 'integer', 'array', 'boolean', 'null'
  (+ 7 more similar parent-node errors)

Analysis: The PR modifies nord-embedded.dtsi, nord-ride-embedded.dts, and nord-rrd.dts to update sound support, but does not touch:

  • video-codec@aa00000 node or its iommus property
  • qcom,cam-cpas@9a01000 node or camera-related properties
  • Any parent-node properties

These errors existed before the PR and are exposed when the DTBs are rebuilt. The checker's baseline subtraction should have filtered them, but they appear anyway (possibly due to incomplete base build).

Recommendation: These are not blockers for this PR. The errors should be fixed in separate patches targeting the video-codec and camera subsystems.

Reproduce locally:

make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/nord-ride-embedded.dtb
make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/nord-ride-embedded-camx-el2.dtb

Verdict

3 blockers must be fixed before merge:

  1. check-patch-compliance prefix failures: Add UPSTREAM: (or appropriate prefix) before "Revert" in all three Revert commits.
  2. check-patch-compliance content mismatch: Verify and document the differences in the two FROMLIST commits, or align them with upstream.
  3. tag-check failures: Same as Create qualcomm-linux-organization-repolinter.yml #1 — add required prefix tags to all three Revert commits (mandatory for qcom-7.3-es branch).

Non-blocker:

  • dtb-check failures: Pre-existing tree issues not caused by this PR. Can be addressed separately.

Action items:

  1. Rebase and amend the three Revert commits to add UPSTREAM: prefix (or the correct prefix based on origin).
  2. Investigate the content mismatch in commits 4 and 5 — if differences are intentional, document them in the commit message.
  3. Force-push the updated branch and re-trigger CI.

[/CHECKER_LOG_REPORT]

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 47390937726 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-nord-rrd-multimedia

Test Matrix

Test Case kbdev-nord-rrd-multimedia
LAVA result ✅ Results

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