Skip to content

Mahua video dt - #2326

Open
dmadival wants to merge 1 commit into
qualcomm-linux:tech/all/dt/glymurfrom
dmadival:mahua-video-dt
Open

dmadival wants to merge 1 commit into
qualcomm-linux:tech/all/dt/glymurfrom
dmadival:mahua-video-dt

Conversation

@dmadival

Copy link
Copy Markdown

Add iris videocc node

@qcomlnxci
qcomlnxci requested review from a team, aiquny, Nicolas Dechesne (ndechesne) and Shivendra Pratap (quicAspratap) and removed request for a team November 20, 2026 07:53
@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2326

PR: #2326
Build run: https://github.com/qualcomm-linux/kernel-config/actions/runs/44698247932

# Error File:Line PR-introduced? Root Cause
1 Automerge conflict during topic branch integration drivers/bluetooth/hci_qca.c No Merge conflict between existing topic branches when integrating with commit 07ccc1c1081abc075bc0faf0fc1cd9289fc39322. PR does not touch this file.
2 Automerge conflict during topic branch integration net/qrtr/af_qrtr.c No Merge conflict between existing topic branches when integrating with commit 07ccc1c1081abc075bc0faf0fc1cd9289fc39322. PR does not touch this file.

Verdict

0 of 2 errors are introduced by this PR; both are pre-existing integration conflicts. This PR only modifies devicetree binding documentation and a mahua.dtsi file. The build never reached the compilation phase due to automerge conflicts in unrelated Bluetooth and QRTR networking files.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2326

PR: #2326
Build run: https://github.com/qualcomm-linux/kernel-config/actions/runs/44698247932

# Error File:Line PR-introduced? Root Cause
1 Merge conflict during automerge drivers/bluetooth/hci_qca.c No Pre-existing integration conflict between topic branches, unrelated to PR changes
2 Merge conflict during automerge net/qrtr/af_qrtr.c No Pre-existing integration conflict between topic branches, unrelated to PR changes

Verdict

0 of 2 failures are introduced by this PR; both are pre-existing integration issues. The PR only modifies devicetree files (qcom,mahua-iris.yaml and mahua.dtsi) and does not touch the conflicting Bluetooth or QRTR networking code. The build failed during the automerge phase before compilation could begin.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

PR #2326 — validate-patch

PR: #2326

Verdict Issues Detailed Report
❌ 0 Full report

Final Summary

  1. Lore link present: Yes — but incorrect message-IDs in both commits (both link to patch 3/3 instead of their respective patches)

  2. Lore link matches PR commits: Partial — dt-bindings and dts content match their respective lore patches (1/3 and 2/3), but PR is missing the driver patch (3/3) and uses wrong lore links

  3. Upstream patch status: ⏳ Decision Pending — Posted Nov 13, 2026; only internal Qualcomm review activity; no maintainer acceptance signals yet

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

Verdict: ❌ — click to expand

🔍 Patch Validation Report

PR: kernel-topics#2326 - FROMLIST: dt-bindings and dts for Mahua Iris video codec
Upstream: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/
Verdict: ❌ FAIL


Critical Issues

1. Incomplete Series

  • Lore series: 3 patches (dt-bindings, dts, driver platform data)
  • PR contains: Only 2 patches (dt-bindings, dts)
  • Missing: Patch 3/3 "media: iris: add mahua platform data and enable qcom,mahua-iris"

The PR cherry-picks only the devicetree portions of a 3-patch series while omitting the driver changes. This creates a non-functional state where the devicetree declares qcom,mahua-iris compatible but the driver has no matching platform data to handle it.

2. Wrong Lore Link in Commit 2/2

  • PR commit 2/2 links to: 20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com (patch 3/3 - driver code)
  • Should link to: 20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com (patch 2/3 - dts)

The second commit in the PR contains the dts changes but incorrectly references the driver patch (3/3) instead of the dts patch (2/3).


Commit-by-Commit Analysis

Commit 1/2: dt-bindings: media: qcom,mahua-iris

Check Status Note
Subject matches upstream ✅ Identical (with FROMLIST: prefix added)
Body preserves rationale ✅ Identical description
Authorship preserved ✅ Deepa Guthyappa Madivalara correctly preserved
Lore link present ✅ Link: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/
Lore link correct ❌ Links to patch 3/3 (driver) instead of patch 1/3 (dt-bindings)
Should be: 20261113-mahua_iris_enable-v1-1-b7107e1cbcaa@oss.qualcomm.com

Diff Comparison:

File Status Notes
Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml ✅ Content matches lore patch 1/3 exactly (243 lines added)

Commit 2/2: arm64: dts: qcom: mahua: add iris video codec node

Check Status Note
Subject matches upstream ✅ Identical (with FROMLIST: prefix added)
Body preserves rationale ✅ Identical description with typo "overrriding" preserved
Authorship preserved ✅ Deepa Guthyappa Madivalara correctly preserved
Lore link present ✅ Link: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/
Lore link correct ❌ Links to patch 3/3 (driver) instead of patch 2/3 (dts)
Should be: 20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com

Diff Comparison:

File Status Notes
arch/arm64/boot/dts/qcom/mahua.dtsi ⚠️ Content matches lore patch 2/3 with minor context differences (67 vs 66 lines - likely due to base tree differences)

Upstream Patch Status

Commit Community Verdict
[PATCH 1/3] dt-bindings: media: qcom,mahua-iris ⏳ Decision Pending — Posted Nov 13, 2026; internal review comments from Vishnu Reddy on Nov 17; no maintainer decision yet
[PATCH 2/3] arm64: dts: qcom: mahua: add iris video codec node ⏳ Decision Pending — Posted Nov 13, 2026; no maintainer feedback in thread
[PATCH 3/3] media: iris: add mahua platform data ⏳ Decision Pending — Posted Nov 13, 2026; internal review comments from Vishnu Reddy on Nov 17; not included in this PR

Evidence: The lore thread shows only internal Qualcomm review activity (Vishnu Reddy comments). No Reviewed-by:, Acked-by:, applied, or queued signals from subsystem maintainers (Rob Herring, Krzysztof Kozlowski, Mauro Carvalho Chehab, Bjorn Andersson). The series is still under review.


Integration Presence (qcom-next/topics)

Per integration_presence_report.md:

Commit qcom-next topics Final Status
1/2 dt-bindings ❌ missing ❌ missing missing
2/2 dts ❌ missing ❌ missing missing

Overall: ❌ FAIL — 2/2 commits are missing from both qcom-next and topics


Dependency Check

❌ FAIL — The PR is missing a critical dependency:

The lore series is a 3-patch set where:

  1. Patch 1/3 adds dt-bindings for qcom,mahua-iris
  2. Patch 2/3 adds dts node using qcom,mahua-iris compatible
  3. Patch 3/3 adds driver support for qcom,mahua-iris compatible (drivers/media/platform/qcom/iris/)

Without patch 3/3, the devicetree node will not probe successfully. The driver will fail to match the qcom,mahua-iris compatible string because the platform data and of_device_id entry are missing.


Recommendation

❌ DO NOT MERGE — This PR must be rejected or amended for the following reasons:

  1. Incomplete series: Add the missing patch 3/3 from the lore series to make the feature functional.

  2. Fix lore links: Update both commits to reference the correct message-IDs:

    • Commit 1/2 should link to 20261113-mahua_iris_enable-v1-1-b7107e1cbcaa@oss.qualcomm.com
    • Commit 2/2 should link to 20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com
  3. Wait for upstream acceptance: The series is still under review (Decision Pending). Consider waiting for maintainer feedback before integrating.

  4. Verify base tree compatibility: The context differences in the dts patch suggest the PR may be based on a different tree version than the lore posting. Verify that the changes apply cleanly to the target integration branch.


Final Summary

  1. Lore link present: Yes — but incorrect message-IDs in both commits (both link to patch 3/3 instead of their respective patches)

  2. Lore link matches PR commits: Partial — dt-bindings and dts content match their respective lore patches (1/3 and 2/3), but PR is missing the driver patch (3/3) and uses wrong lore links

  3. Upstream patch status: ⏳ Decision Pending — Posted Nov 13, 2026; only internal Qualcomm review activity; no maintainer acceptance signals yet

  4. PR present in qcom-next/topics: ❌ Fail — 2/2 commits are missing from both qcom-next and topics (per integration_presence_report.md)

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: c6989d230fe63569d9ff1814f984ee6b66913b73
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/2 [PATCH 1/2] FROMLIST: dt-bindings: media: qcom,mahua-iris: Add Mahua missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/2 [PATCH 2/2] FROMLIST: arm64: dts: qcom: mahua: add iris video codec missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing

Final Status

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

@qlijarvis

Copy link
Copy Markdown

PR #2326 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ⚠️ CI infrastructure failure - merge failed
dt-binding-check ⚠️ CI infrastructure failure - merge failed
dtb-check ⚠️ CI infrastructure failure - merge failed
sparse-check ⚠️ CI infrastructure failure - merge failed
check-uapi-headers ⚠️ CI infrastructure failure - merge failed
check-patch-compliance ⚠️ CI infrastructure failure - merge failed
tag-check ✅ Both commits have valid FROMLIST: prefix
manual-review ⚠️ 1 typo found in commit message

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2326 - FROMLIST: dt-bindings: media: qcom,mahua-iris: Add Mahua video codec
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/44698247565

Checker Result Summary
checkpatch ⚠️ CI infrastructure failure - merge failed
dt-binding-check ⚠️ CI infrastructure failure - merge failed
dtb-check ⚠️ CI infrastructure failure - merge failed
sparse-check ⚠️ CI infrastructure failure - merge failed
check-uapi-headers ⚠️ CI infrastructure failure - merge failed
check-patch-compliance ⚠️ CI infrastructure failure - merge failed
tag-check ✅ Both commits have valid FROMLIST: prefix
manual-review ⚠️ 1 typo found in commit message

⚠️ CI Infrastructure Failure

Root cause: All checker jobs failed during the merge step with fatal: refusing to merge unrelated histories when attempting to merge topic branch topic/tech/all/dt/glymur and PR #2326 into the integration branch.

Failure details:

2026-11-20T08:11:06.8180695Z  ** Merging topic branch: topic/tech/all/dt/glymur
2026-11-20T08:11:26.5647741Z fatal: refusing to merge unrelated histories
2026-11-20T08:11:26.6833202Z Merge failed, manual merge
...
2026-11-20T08:11:27.6284975Z Merging pr-2326 (no-commit)...
2026-11-20T08:11:48.9362159Z fatal: refusing to merge unrelated histories
2026-11-20T08:11:49.0581604Z Merge failed or conflicts detected. Aborting merge.

Analysis: This is a CI infrastructure/configuration issue, not a patch defect. The error occurs when git attempts to merge branches that don't share a common ancestor. This typically happens when:

  • The topic branch topic/tech/all/dt/glymur has an incompatible history with the baseline
  • The PR branch was created from a different base than expected
  • The CI merge configuration needs adjustment

Fix: This requires CI/infrastructure team intervention:

  1. Verify the topic branch topic/tech/all/dt/glymur is properly based on the integration baseline
  2. Confirm PR Mahua video dt #2326 is based on the correct branch
  3. Consider using git merge --allow-unrelated-histories if the branches are intentionally separate
  4. Re-trigger the CI run after fixing the branch configuration

No patch changes needed — the patches themselves are not the cause of this failure.


⚠️ manual-review — Typo in Commit Message

Root cause: Commit 2/2 contains a typo in the commit body: "overrriding" (three r's instead of two).

Failure details:

Subject: [PATCH 2/2] FROMLIST: arm64: dts: qcom: mahua: add iris video codec node

Add the iris video codec device node for the mahua SoC, overrriding the
                                                         ^^^^^^^^^^^
fields clocks, power-domains, resets and opp-table reflecting single core.

Fix:

git rebase -i <base_sha>   # mark commit a43a2e5 as 'edit'
# Edit the commit message to fix the typo
git commit --amend
# Change "overrriding" to "overriding"
git rebase --continue

Reproduce locally:

git show a43a2e582d1aa5f5da4482bd6bc4527fa3bdd10a | grep -i overr

✅ tag-check — PASS

Both commits have valid FROMLIST: prefix tags as required:

  • Commit 1/2: FROMLIST: dt-bindings: media: qcom,mahua-iris: Add Mahua video codec
  • Commit 2/2: FROMLIST: arm64: dts: qcom: mahua: add iris video codec node

Both commits also include:

  • ✅ Link: tag pointing to lore.kernel.org
  • ✅ Signed-off-by: trailer

✅ Manual Patch Review — PASS (with minor typo)

Patch 1/2 — DT binding YAML:

  • ✅ Well-formed YAML syntax
  • ✅ Proper SPDX license header
  • ✅ Complete property definitions
  • ✅ Includes example node
  • ✅ References parent schema with $ref: qcom,venus-common.yaml#
  • ✅ No trailing whitespace
  • ✅ Consistent indentation

Patch 2/2 — DTS node:

  • ✅ Proper DTS syntax
  • ✅ Overrides &iris node with Mahua-specific properties
  • ✅ Clock, power-domain, reset, and OPP table definitions look correct
  • ✅ No trailing whitespace
  • ✅ Consistent indentation

Verdict

CI infrastructure issue blocks automated validation. The patches themselves appear clean and well-formed based on manual review. One minor typo in commit 2/2 commit message should be fixed ("overrriding" → "overriding").

Recommended actions:

  1. CI team: Fix the "refusing to merge unrelated histories" issue with topic branch topic/tech/all/dt/glymur and re-trigger CI
  2. Author: Fix the typo in commit 2/2 commit message
  3. After CI infrastructure is fixed and typo is corrected, re-run checkers to validate

Blocker: CI infrastructure failure prevents automated validation. No patch-level blockers identified in manual review (only a minor typo).

@qcomlnxci
qcomlnxci requested a review from a team November 23, 2026 18:49
@qlijarvis

Copy link
Copy Markdown

PR #2326 — validate-patch

PR: #2326

Verdict Issues Detailed Report
⚠️ 0 Full report

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/ (patch 2/3 of series)

  2. Lore link matches PR commits: Yes — diff content is identical; context line difference (447 vs 400) is due to documented baseline difference and does not affect correctness

  3. Upstream patch status: ⏳ Decision Pending — posted Nov 13, 2026; active review feedback from Krzysztof Kozlowski (Nov 17) and Vishnu Reddy (Nov 17) on patches 1/3 and 3/3; no maintainer decision yet; series requires v2 revision to address binding issues before acceptance

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

Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #2326 - FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Upstream commit: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/
Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream ✅ Identical except for FROMLIST: prefix
Body preserves rationale ✅ Body text matches lore patch
Fixes tag present/correct N/A No Fixes tag in upstream or PR
Authorship preserved ✅ From: matches lore author (Deepa Guthyappa Madivalara)
Backport note (if applicable) N/A FROMLIST: commit, not a backport

Minor issue: Typo in commit message body: "overrriding" (3 r's) should be "overriding" (2 r's). This typo is present in both the PR and the lore patch.

Diff

File Status Notes
arch/arm64/boot/dts/qcom/mahua.dtsi ✅ Content identical; context line differs (447 vs 400) due to different baseline

Context difference: PR applies at line 447, lore patch at line 400. This is expected and documented in the cover letter: "Patch is created with base-commit: 0d9d0db to avoid conflicts." The actual code changes are identical (67 lines added in both).

Issues

Upstream series has active review feedback:

  1. Patch 1/3 (dt-bindings) — Krzysztof Kozlowski raised two blocking issues:

    • Compatible string definition unclear: oneOf with qcom,mahua-iris + qcom,glymur-iris fallback vs standalone qcom,mahua-iris is confusing
    • Dependency on undocumented qcom,glymur-iris binding makes the series unreviewable
  2. Patch 1/3 (dt-bindings) — Vishnu Reddy noted:

    • memory-region property for carveout regions is deprecated; should use iommu-ranges instead per active upstream series
  3. Patch 3/3 (driver) — Krzysztof Kozlowski commented (details not in patch 2/3 scope)

Note: Patch 2/3 (this DTS patch) has not received direct review comments yet, but depends on patch 1/3 being accepted first.

Verdict

The PR commit message and diff content faithfully match the lore patch (patch 2/3 of the series). However, the upstream series has active review feedback requiring changes before it can be merged. The binding patch (1/3) needs revision to address:

  • Compatible string definition clarity
  • Glymur dependency documentation
  • Migration from memory-region to iommu-ranges

Recommendation: Hold this PR until the upstream series is revised (v2) addressing maintainer feedback. The DTS patch itself is correct, but merging it before the binding is accepted would create an inconsistency.

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/ (patch 2/3 of series)

  2. Lore link matches PR commits: Yes — diff content is identical; context line difference (447 vs 400) is due to documented baseline difference and does not affect correctness

  3. Upstream patch status: ⏳ Decision Pending — posted Nov 13, 2026; active review feedback from Krzysztof Kozlowski (Nov 17) and Vishnu Reddy (Nov 17) on patches 1/3 and 3/3; no maintainer decision yet; series requires v2 revision to address binding issues before acceptance

  4. PR present in qcom-next/topics: No — integration_presence_report.md confirms commit is missing from both qcom-next (c6989d230fe6) and all kernel topic branches; this is expected for a FROMLIST: commit that has not yet been accepted upstream

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: c6989d230fe63569d9ff1814f984ee6b66913b73
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: arm64: dts: qcom: mahua: add iris video codec node missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing

Final Status

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

@qlijarvis

Copy link
Copy Markdown

PR #2326 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ❌ 1 warning: undocumented DT compatible string
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Failed to match schema for qcom,mahua-iris
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Content mismatch with upstream Link
tag-check ⚠️ Unable to verify (target branch unknown)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2326 - FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/45242377676

Checker Result Summary
checkpatch ❌ 1 warning: undocumented DT compatible string
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Failed to match schema for qcom,mahua-iris
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Content mismatch with upstream Link
tag-check ⚠️ Unable to verify (target branch unknown)

❌ checkpatch

Root cause: The compatible string "qcom,mahua-iris" is not documented in devicetree bindings.

Failure details:

WARNING: DT compatible string "qcom,mahua-iris" appears un-documented -- check ./Documentation/devicetree/bindings/
#25: FILE: arch/arm64/boot/dts/qcom/mahua.dtsi:452:
+	compatible = "qcom,mahua-iris";

6d8b0c35bfc6389418f12237415c27011639004d total: 0 errors, 1 warnings, 0 checks, 70 lines checked

Fix: This warning indicates that the compatible string "qcom,mahua-iris" needs to be documented in a devicetree binding YAML file. Since this is a FROMLIST: patch, the binding documentation should be part of the upstream patch series. Check if:

  1. The binding patch was submitted separately in the same series (patch 1/3 or 2/3)
  2. The binding exists in a different patch that needs to be merged first
  3. The binding needs to be added to an existing qcom,iris.yaml or similar file

Reproduce locally:

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

❌ dtb-check

Root cause: No devicetree binding schema exists for the compatible string "qcom,mahua-iris".

Failure details:

Log Summary: Test failed
arch/arm64/boot/dts/qcom/kalambo-crd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-crd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-crd-camx.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-qcb.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']

Fix: The DTS node references &iris which must be defined in a parent .dtsi file with a base compatible string. The qcom,mahua-iris compatible needs to be added to the iris video codec binding YAML file (likely Documentation/devicetree/bindings/media/qcom,iris.yaml or similar).

This is the same root cause as the checkpatch warning — the binding documentation is missing. The upstream patch series at the Link URL should include the binding patch. Verify that:

  1. The binding patch exists in the upstream series
  2. It has been merged or needs to be applied first
  3. The binding correctly documents qcom,mahua-iris as a valid compatible string

Reproduce locally:

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

❌ check-patch-compliance

Root cause: The patch content in the PR differs from the upstream patch at the provided Link.

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Change is different from the one mentioned in Link

Fix: The checker detected that the patch in this PR does not exactly match the upstream patch at:

https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/

To diagnose the difference:

  1. Fetch the upstream patch:

    b4 am --single-message -C -l -3 https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/ -o /tmp/upstream
  2. Compare the diff content (ignoring context lines):

    diff <(git format-patch -1 6d8b0c35bfc6 --stdout | awk '/^diff/,/^--$/' | grep -E '^[+-][^+-]') \
         <(awk '/^diff/,/^--$/' /tmp/upstream/*.mbx | grep -E '^[+-][^+-]')
  3. Classify the difference:

    • Context-only shift: If only surrounding context lines differ, this is a false positive (different base tree)
    • Legitimate adaptation: If changes were needed for the target tree, document them in the commit message
    • Missing/extra hunks: Ensure all upstream changes are included, or explain why some were omitted
    • Typo in commit message: The commit message has "overrriding" (3 r's) — check if upstream has this typo too

If the patch was intentionally modified for the target tree, consider using BACKPORT: prefix instead of FROMLIST: and document the changes in the commit message.

Reproduce locally:

cd <kernel-src>
bash ../kernel-checkers/check-patch-compliance.sh --kernel-src . --base <base> --head <head>

Verdict

3 blockers must be fixed before merge:

  1. Missing binding documentation — The qcom,mahua-iris compatible string must be documented in a devicetree binding YAML file. This is likely patch 1/3 or 2/3 in the upstream series and should be merged first.

  2. Content mismatch with upstream — The patch differs from the upstream version at the Link URL. Verify the difference is intentional (e.g., tree-specific adaptation) or fix the discrepancy. If intentionally modified, use BACKPORT: prefix and document changes.

  3. Typo in commit message — "overrriding" has 3 r's (should be "overriding"). Verify if this typo exists in upstream; if not, fix it.

Recommended action:

  1. Fetch and review the full upstream patch series (patches 1/3, 2/3, 3/3)
  2. Ensure the binding patch (likely 1/3 or 2/3) is merged first
  3. Verify patch 3/3 content matches exactly, or document any intentional differences
  4. Fix the typo in the commit message if it's not present upstream

vgarodia
vgarodia previously approved these changes Nov 24, 2026
@dmadival

Copy link
Copy Markdown
Author

Dt-binding PR: #2355

@QuinAsura
Sibi Sankar (QuinAsura) dismissed vgarodia’s stale review November 25, 2026 08:20

The merge-base changed after approval.

Add the iris video codec device node for the mahua SoC, overrriding the
fields clocks, power-domains, resets and opp-table reflecting single core.

Link: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/
Signed-off-by: Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Change Requests Validation Check

No CR numbers found in the pull request description.

Please add CR numbers in the format: CRs-fixed: {number} (one per line).

Example:

CRs-fixed: 12345
CRs-fixed: 67890

@qlijarvis

Copy link
Copy Markdown

PR #2326 — validate-patch

PR: #2326

Verdict Issues Detailed Report
❌ 0 Full report

Final Summary

  1. Lore link present: Yes — but incorrect: links to patch 3/3 (driver code) instead of patch 2/3 (DTS)
  2. Lore link matches PR commits: No — diff has extra blank line not in lore patch; maintainer flagged style violation
  3. Upstream patch status: ⏳ Decision Pending — under review; maintainer Krzysztof Kozlowski provided feedback on Nov 17, 2026 requesting style fixes; no acceptance or rejection signal yet
  4. PR present in qcom-next/topics: Fail - 1/1 commit(s) are missing from both qcom-next and topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #2326 - FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Upstream commit: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com/
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ✅ Subject correctly prefixed with FROMLIST:
Body preserves rationale ✅ Body text matches lore patch verbatim (including typo "overrriding")
Fixes tag present/correct N/A No Fixes tag in upstream or PR
Authorship preserved ✅ Author matches lore patch: Deepa Guthyappa Madivalara
Backport note (if applicable) N/A Not a backport; FROMLIST: prefix is correct
Link tag ❌ Link points to wrong patch: PR links to patch 3/3 (driver code) but PR content is patch 2/3 (DTS). Should be https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com/

Diff

File Status Notes
arch/arm64/boot/dts/qcom/mahua.dtsi ❌ Extra blank line before &iris { block not present in lore patch; maintainer Krzysztof Kozlowski flagged style issue in review

Issues

  1. Wrong lore link: PR commit message links to patch 3/3 (20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com) which is the driver code patch, but the PR content is patch 2/3 (DTS). The Link tag must point to the correct patch: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-2-b7107e1cbcaa@oss.qualcomm.com/

  2. Extra blank line in diff: PR adds an extra blank line (+) before the +&iris { block that is not present in the lore patch. Maintainer Krzysztof Kozlowski commented: "It's not difficult to see how entries are added there. And dt-check-style also would tell you." This indicates the blank line violates DTS coding style for this file.

  3. Maintainer feedback not addressed: Krzysztof's review on Nov 17, 2026 pointed out the style issue, but the PR was created on Nov 19, 2026 without addressing this feedback.

Verdict

Do not merge. The PR must be updated to:

  1. Fix the Link tag to point to patch 2/3 instead of patch 3/3
  2. Remove the extra blank line before &iris { to match the lore patch and DTS style conventions
  3. Consider addressing Krzysztof's other comment about patch ordering (though that's a series-level issue, not specific to this commit)

Final Summary

  1. Lore link present: Yes — but incorrect: links to patch 3/3 (driver code) instead of patch 2/3 (DTS)
  2. Lore link matches PR commits: No — diff has extra blank line not in lore patch; maintainer flagged style violation
  3. Upstream patch status: ⏳ Decision Pending — under review; maintainer Krzysztof Kozlowski provided feedback on Nov 17, 2026 requesting style fixes; no acceptance or rejection signal yet
  4. PR present in qcom-next/topics: No — per integration_presence_report.md: "missing - no subject, patch-id, or full tree-content match found" in both qcom-next and topics branches

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: 1843874b4356d1203ebd83d5ebfc24d45aa35f1d
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: arm64: dts: qcom: mahua: add iris video codec node missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing

Final Status

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

@qlijarvis

Copy link
Copy Markdown

PR #2326 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ❌ 1 warning: undocumented DT compatible string
dt-binding-check ⏭️ No binding changes
dtb-check ❌ Failed to match schema for qcom,mahua-iris
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Content mismatch with upstream link
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2326 - FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/45848842039

Checker Result Summary
checkpatch ❌ 1 warning: undocumented DT compatible string
dt-binding-check ⏭️ No binding changes
dtb-check ❌ Failed to match schema for qcom,mahua-iris
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Content mismatch with upstream link
tag-check ✅ Subject has valid FROMLIST: prefix

❌ checkpatch

Root cause: The compatible string qcom,mahua-iris is not documented in Documentation/devicetree/bindings/vendor-prefixes.yaml or a binding file.

Failure details:

WARNING: DT compatible string "qcom,mahua-iris" appears un-documented -- check ./Documentation/devicetree/bindings/
#25: FILE: arch/arm64/boot/dts/qcom/mahua.dtsi:452:
+	compatible = "qcom,mahua-iris";

413cd71604b57235f57c939ba9a8fde9a9497baf total: 0 errors, 1 warnings, 0 checks, 70 lines checked

Fix: This warning indicates that the compatible string qcom,mahua-iris needs a corresponding device tree binding YAML file. The binding should be added in a separate patch (per kernel DT submission guidelines) before or alongside this DTS change. The binding file should be at:

Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml

Reproduce locally:

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

❌ dtb-check

Root cause: No device tree binding schema exists for the compatible string qcom,mahua-iris, causing DTB validation to fail.

Failure details:

Log Summary: Test failed
arch/arm64/boot/dts/qcom/kalambo-crd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-crd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-crd-camx.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']
arch/arm64/boot/dts/qcom/mahua-qcb.dtb: /soc@0/video-codec@aa00000: failed to match any schema with compatible: ['qcom,mahua-iris']

Fix: Add a device tree binding YAML file for qcom,mahua-iris. This should be submitted as a separate patch before the DTS change, following the kernel DT binding submission workflow. The binding should document:

  • The qcom,mahua-iris compatible string
  • Required properties: clocks, clock-names, power-domains, power-domain-names, resets, reset-names
  • The opp-table child node structure

Reproduce locally:

make -j$(nproc) O=out defconfig
make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/mahua-crd.dtb

❌ check-patch-compliance

Root cause: The patch content in the PR differs from the upstream patch referenced in the Link trailer.

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: mahua: add iris video codec node
Change is different from the one mentioned in Link

Fix: The checker detected that the patch differs from the upstream version at:

Link: https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/

To investigate the difference:

# Fetch the upstream patch
b4 am --single-message -C -l -3 https://lore.kernel.org/linux-media/20261113-mahua_iris_enable-v1-3-b7107e1cbcaa@oss.qualcomm.com/ -o /tmp/upstream

# Compare the diff content
git format-patch -1 413cd71604b5 --stdout > /tmp/pr-patch.txt
diff -u /tmp/upstream/*.mbx /tmp/pr-patch.txt

Possible causes:

  1. Context-only difference: Line numbers or surrounding context shifted due to other patches in the integration branch (not a real issue)
  2. Legitimate adaptation: The patch was modified for the vendor tree (should be documented in commit message)
  3. Missing/extra hunks: Content was added or removed (needs review)
  4. Typo in commit message: The commit message has "overrriding" (3 r's) instead of "overriding" — this differs from upstream

If the difference is intentional (e.g., vendor-specific adaptation), document it in the commit message. If it's a typo or unintended change, align with the upstream version.


Verdict

3 blockers must be fixed before merge:

  1. Missing DT binding — Add Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml in a separate patch before this DTS change
  2. Content mismatch — Verify the patch matches the upstream version at the Link URL, or document any intentional differences
  3. Typo in commit message — "overrriding" should be "overriding" (matches upstream)

Recommended workflow:

  1. Submit the DT binding YAML as patch 1/2 (or verify it's already in the upstream series)
  2. Fix the typo in the commit message
  3. Verify content matches upstream or document adaptations
  4. Re-run CI to confirm all checkers pass

@dmadival

Copy link
Copy Markdown
Author

Dt-binding PR: #2355

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.

3 participants