Skip to content

FROMLIST: arm64: dts: qcom: lemans: Add SDHCI support for SD card via… - #1624

Open
mchunara007 wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
mchunara007:draco_lemans
Open

mchunara007 wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
mchunara007:draco_lemans

Conversation

@mchunara007

Copy link
Copy Markdown

… overlay

Enable the SDHCI controller for SD card on the LeMans Draco EVK using a device tree overlay. Add the fixed vmmc supply, the GPIO-controlled vqmmc supply that switches between 1.8V and 2.95V, and the card-detect and SD mode pin configuration.

As on the LeMans EVK, the SoC has a single SDHC instance that can be routed to either the SD card slot or eMMC, so storage support is kept in overlays rather than the base board DT. An eMMC overlay will be added once hardware with eMMC populated is available.

Link: https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/

… overlay

Enable the SDHCI controller for SD card on the LeMans Draco EVK using a
device tree overlay. Add the fixed vmmc supply, the GPIO-controlled
vqmmc supply that switches between 1.8V and 2.95V, and the card-detect
and SD mode pin configuration.

As on the LeMans EVK, the SoC has a single SDHC instance that can be
routed to either the SD card slot or eMMC, so storage support is kept in
overlays rather than the base board DT. An eMMC overlay will be added
once hardware with eMMC populated is available.

Link: https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/
Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qlijarvis

Copy link
Copy Markdown

PR #1624 — validate-patch

PR: #1624

Verdict Issues Detailed Report
❌ 0 Full report

Final Summary

  1. Lore link present: Yes - https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/
  2. Lore link matches PR commits: No - PR is missing the lemans-draco-evk.dts file change (mmc1 alias) present in lore; also missing dependency note and has extra trailing blank line
  3. Upstream patch status: ⏳ Decision Pending - patch posted Dec 3, 2026 (today); no community feedback yet; no reviews, ACKs, or NAKs
  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: #1624 - FROMLIST: arm64: dts: qcom: lemans: Add SDHCI support for SD card via overlay
Upstream commit: https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ✅ Correctly prefixed with FROMLIST:
Body preserves rationale ✅ Commit body text matches lore exactly
Fixes tag present/correct N/A No Fixes tag in upstream patch
Authorship preserved ✅ From: matches lore author (correct for FROMLIST:)
Backport note (if applicable) N/A Not a backport
Dependency note ❌ Missing dependency note present in lore: "This patch depends on the LeMans Draco EVK base support series: https://lore.kernel.org/all/20261123-lemans-draco-final-changes-bringup-v4-0-dbfc15cd0883@oss.qualcomm.com/"

Diff

File Status Notes
arch/arm64/boot/dts/qcom/Makefile ⚠️ Context differs - PR based on tree with additional commits (waveshare entries) not in upstream
arch/arm64/boot/dts/qcom/lemans-draco-evk-sd-card.dtso ⚠️ Extra trailing blank line (58 lines vs 57 in lore)
arch/arm64/boot/dts/qcom/lemans-draco-evk.dts ❌ Missing entirely - lore patch adds mmc1 = &sdhc; alias, PR omits this file

Issues

  1. Missing file change: The PR omits the third file from the lore patch (arch/arm64/boot/dts/qcom/lemans-draco-evk.dts), which adds the mmc1 = &sdhc; alias to the board DTS. This is a functional difference - the alias is part of the upstream patch and should be included.

  2. Missing dependency note: The lore patch includes a note after the --- separator stating "This patch depends on the LeMans Draco EVK base support series: https://lore.kernel.org/all/20261123-lemans-draco-final-changes-bringup-v4-0-dbfc15cd0883@oss.qualcomm.com/". This context is missing from the PR.

  3. Makefile context mismatch: The PR's Makefile insertion point differs from lore (after lemans-draco-evk-waveshare-dsi-8inch entries vs after lemans-draco-evk-el2), indicating the PR is based on a tree with additional downstream commits. While the change itself is correct, this suggests potential merge conflicts if the upstream patch is accepted as-is.

  4. Whitespace difference: The dtso file has an extra trailing blank line in the PR (58 lines declared vs 57 in lore).

Verdict

Do not merge - The PR is missing a critical file change (the mmc1 alias in lemans-draco-evk.dts) that is present in the upstream lore patch. This must be added to match the upstream submission. Additionally, the dependency note should be included in the commit message for context, and the trailing blank line should be removed.

Final Summary

  1. Lore link present: Yes - https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/
  2. Lore link matches PR commits: No - PR is missing the lemans-draco-evk.dts file change (mmc1 alias) present in lore; also missing dependency note and has extra trailing blank line
  3. Upstream patch status: ⏳ Decision Pending - patch posted Dec 3, 2026 (today); no community feedback yet; no reviews, ACKs, or NAKs
  4. PR present in qcom-next/topics: Fail - commit is 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: 27cd2ba09b3377fea4e69efb419d44ca159c2bac
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: lemans: Add SDHCI support for SD 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 #1624 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Pre-existing tree issues in base lemans-draco-evk.dtb
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Content mismatch with upstream lore patch
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1624 - FROMLIST: arm64: dts: qcom: lemans: Add SDHCI support for SD card via overlay
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/47097933174
Target branch: qcom-6.18.y

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ Pre-existing tree issues in base lemans-draco-evk.dtb
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Content mismatch with upstream lore patch
tag-check ✅ Subject has valid FROMLIST: prefix

❌ dtb-check

Root cause: Pre-existing validation errors in the base lemans-draco-evk.dtb that are not introduced by this PR.

Failure details:

arch/arm64/boot/dts/qcom/lemans-draco-evk.dtb: soc@0 (simple-bus): codec@33F0000: 'ranges' is a required property
arch/arm64/boot/dts/qcom/lemans-draco-evk.dtb: pcie@0,0 (pci1179,0623): i2c-parent: [[136, 119]] is too short
arch/arm64/boot/dts/qcom/lemans-draco-evk.dtb: video-codec@aa00000 (qcom,sa8775p-iris): 'iommus' is a required property
arch/arm64/boot/dts/qcom/lemans-draco-evk.dtb: video-codec@aa00000 (qcom,sa8775p-iris): Unevaluated properties are not allowed ('iommu-map' was unexpected)
arch/arm64/boot/dts/qcom/lemans-draco-evk.dtb: sram@146d8000 (qcom,sa8775p-imem): 'minidump-sram@1c' does not match any of the regexes: '^pil-reloc@[0-9a-f]+$', '^pinctrl-[0-9]+$'

These errors appear on both lemans-draco-evk.dtb (base board) and lemans-draco-evk-sd-card.dtb (with overlay applied).

Analysis:
This PR only adds a new overlay file (lemans-draco-evk-sd-card.dtso) and updates the Makefile. It does not modify any of the failing nodes:

  • codec@33F0000 (audio codec)
  • pcie@0,0 (Toshiba TC9563 PCIe device)
  • video-codec@aa00000 (Iris video codec)
  • sram@146d8000 (IMEM)

All of these nodes exist in the base lemans-draco-evk.dts or its includes, and the validation errors are pre-existing tree issues that get exposed when the DTB is built. The checker's baseline subtraction should have filtered these out, but they appear in the log because both the base and head builds include them.

Verdict: These are not blockers for this PR. The failures are pre-existing issues in the lemans-draco-evk platform that should be fixed separately.

Fix (for tree maintainers, not this PR):

  1. codec@33F0000: Add ranges; property to the codec node
  2. pcie@0,0: Fix i2c-parent phandle array to match binding requirements
  3. video-codec@aa00000: Add iommus property and remove iommu-map (or update binding)
  4. sram@146d8000: Rename minidump-sram@1c to match the regex pattern pil-reloc@1c

Reproduce locally:

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

❌ check-patch-compliance

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

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: lemans: Add SDHCI support for SD card via overlay
Change is different from the one mentioned in Link

Analysis:
The checker fetched the upstream patch from:

Link: https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/

and found that the PR's patch content does not match the upstream version byte-for-byte.

Possible causes:

  1. Context-only difference — The PR may have been rebased onto a different base, causing context lines to shift without changing the actual code modifications. This is a false positive.
  2. Legitimate adaptation — The PR may include additional changes needed for the vendor tree that aren't in the upstream patch. If so, these should be documented in the commit message.
  3. Missing or extra hunks — The PR may be missing changes from upstream, or may include extra changes not in the upstream patch.

Fix:

  1. Fetch the upstream patch locally:

    b4 am --single-message -C -l -3 https://lore.kernel.org/all/20261203111625.1526521-1-monish.chunara@oss.qualcomm.com/ -o /tmp/upstream
  2. Compare the actual code changes (ignoring context):

    # Extract +/- lines from PR patch
    git format-patch -1 42b3b1fadfdf --stdout | awk '/^diff/,/^--$/' | grep -E '^[+-][^+-]' > /tmp/pr-changes.txt
    
    # Extract +/- lines from upstream patch
    awk '/^diff/,/^--$/' /tmp/upstream/*.mbx | grep -E '^[+-][^+-]' > /tmp/upstream-changes.txt
    
    # Compare
    diff /tmp/pr-changes.txt /tmp/upstream-changes.txt
  3. If the diff shows only context shifts → This is a false positive. The checker limitation is known. No action needed.

  4. If the diff shows real code differences → Either:

    • Update the PR to match upstream exactly, or
    • Document the vendor-specific adaptations in the commit message with a note like:
      Note: Adapted for qcom-6.18.y tree; added XYZ for vendor integration.

Reproduce locally:

cd kernel
git checkout qcom-6.18.y
git fetch origin pull/1624/head:pr-1624
git checkout pr-1624
../kernel-checkers/check-patch-compliance.sh --kernel-src . --base origin/qcom-6.18.y --head HEAD

Verdict

2 issues to investigate:

  1. check-patch-compliance (blocker) — Content mismatch with upstream. Verify whether this is a false positive (context-only difference) or a real divergence. If real, either align with upstream or document the vendor-specific changes.

  2. dtb-check (not a blocker) — Pre-existing validation errors in the base lemans-draco-evk platform. These are tree-wide issues that should be fixed separately, not in this PR.

Recommendation:
Investigate the check-patch-compliance failure first. If it's a false positive due to context shifts, the PR is ready to merge. If there are real code differences, align with upstream or document the rationale.

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.

2 participants