Skip to content

FROMLIST:arm64: dts: qcom: sm8750: allow mode-switch events#1167

Open
sauana wants to merge 1 commit into
qualcomm-linux:tech/all/dt/pakalafrom
sauana:dp_pakala_01
Open

FROMLIST:arm64: dts: qcom: sm8750: allow mode-switch events#1167
sauana wants to merge 1 commit into
qualcomm-linux:tech/all/dt/pakalafrom
sauana:dp_pakala_01

Conversation

@sauana
Copy link
Copy Markdown

@sauana sauana commented May 18, 2026

Allow mode-switch events to reach the QMP Combo PHY to support
setting the QMP Combo PHY in DP 4Lanes Altmode.

@qcomlnxci qcomlnxci requested review from a team, knaveen-qc, quicAspratap and rrnayak and removed request for a team May 18, 2026 07:32
@sgaud-quic
Copy link
Copy Markdown
Contributor

PR #1167 — validate-patch

PR: #1167

Verdict Issues Detailed Report
⚠️ 0 Full report
Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: FROMLIST: arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY — PR #1167
Upstream commit: https://lore.kernel.org/all/20260515071448.1845500-1-saurabh.anand@oss.qualcomm.com/
Verdict: ⚠️ PARTIAL


Commit Message

Check Status Note
Subject matches upstream ⚠️ Missing space: FROMLIST:arm64: should be FROMLIST: arm64:
Body preserves rationale Body correctly states the purpose (DP 4Lanes Altmode support)
Fixes tag present/correct N/A Not a bug fix; no Fixes: tag expected
Authorship preserved FROMLIST: — submitter and lore author are the same (Saurabh Anand); Signed-off-by: present
Backport note (if applicable) N/A Not a backport
Co-developed-by misuse Not present; no misuse

Diff

File Status Notes
arch/arm64/boot/dts/qcom/sm8750.dtsi Single-line addition of mode-switch; property before orientation-switch; in QMP Combo PHY node; minimal and self-contained

Note: Direct lore patch fetch was not possible (network restricted). Diff faithfulness is assessed from the commit message, lore URL structure, and the patch content itself. The change is a trivial single-property DTS addition with no ambiguity.


Upstream Patch Status

Commit Community Verdict
arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY ⏳ Decision Pending — posted 2026-05-15 (3 days before this analysis); no merge evidence available; network restricted, cannot query thread replies

Dependency Check

  • ✅ No Depends-on: tags or prerequisite series mentioned in commit message
  • ✅ Single-patch series ([PATCH], not [PATCH N/M]); no preceding patches required
  • ✅ DTS-only change; no header or driver changes needed

qcom-next Presence

Commit Status
arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY ⏭️ Skipped — network restricted; verify manually with git log --oneline --grep="sm8750: allow mode-switch" against qcom-next

Issues

  1. Subject line missing space after prefix tag: The subject reads FROMLIST:arm64: but the convention requires a space: FROMLIST: arm64:. This is a minor formatting issue that checkpatch will flag.

Verdict

Patch is functionally correct and the lore link is properly attributed; the only issue is a cosmetic missing space in the subject prefix (FROMLIST:arm64:FROMLIST: arm64:). Fix the subject line spacing before merging.


Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/all/20260515071448.1845500-1-saurabh.anand@oss.qualcomm.com/
  2. Lore link matches PR commits: Yes (with caveat) — diff content is a minimal, unambiguous single-property DTS addition consistent with the lore subject; direct fetch was not possible due to network restrictions
  3. Upstream patch status: ⏳ Decision Pending — posted 2026-05-15, very recently submitted; no merge or rejection evidence available
  4. PR present in qcom-next: ⏭️ Skipped — could not fetch qcom-next; verify manually

@sgaud-quic
Copy link
Copy Markdown
Contributor

PR #1167 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch 0 errors, 0 warnings, 0 checks
dt-binding-check ⏭️ No changes in Documentation/devicetree/bindings
dtb-check New graph_endpoint warning in sm8750.dtsi — non-bidirectional graph connection
sparse-check ⏭️ No C/H files changed
check-uapi-headers ⏭️ No relevant files changed
check-patch-compliance FROMLIST: prefix present, Link: tag valid, content matches
tag-check Commit subject starts with FROMLIST:
qcom-next-check N/A Target is tech/all/dt/pakala, not qcom-next

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1167 — FROMLIST: arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/26019741843
Target branch: tech/all/dt/pakala

Checker Result Summary
checkpatch 0 errors, 0 warnings, 0 checks
dt-binding-check ⏭️ No changes in Documentation/devicetree/bindings
dtb-check New graph_endpoint warning in sm8750.dtsi — non-bidirectional graph connection
sparse-check ⏭️ No C/H files changed
check-uapi-headers ⏭️ No relevant files changed
check-patch-compliance FROMLIST: prefix present, Link: tag valid, content matches
tag-check Commit subject starts with FROMLIST:
qcom-next-check N/A Target is tech/all/dt/pakala, not qcom-next

❌ dtb-check

Root cause: The PR adds mode-switch; to phy@88e8000 in sm8750.dtsi, which causes the dtb checker to evaluate the graph topology and detect that the endpoint at phy@88e8000/ports/port@2/endpoint references the DP controller endpoint without a reciprocal remote-endpoint back-reference — making the graph connection non-bidirectional.

Failure details:

Log Summary: Test failed
../arch/arm64/boot/dts/qcom/sm8750.dtsi:2824.36-2826.8: Warning (graph_endpoint):
  /soc@0/phy@88e8000/ports/port@2/endpoint:
  graph connection to node
  '/soc@0/display-subsystem@ae00000/displayport-controller@af54000/ports/port@1/endpoint'
  is not bidirectional

The graph_port warnings from lemans-*-camera-sensor.dtsi and monaco-*-camera-sensor.dtsi visible in the log are pre-existing tree-wide issues — they appear in the base log and are filtered out by the checker's grep -vFf base_dtbs_errors.log head_dtbs_errors.log diff step. Only the sm8750.dtsi graph_endpoint error is new and caused by this PR.

Fix:

The phy@88e8000/ports/port@2/endpoint node references the DP controller's endpoint via remote-endpoint, but the DP controller's port@1/endpoint does not have a remote-endpoint pointing back to the PHY. Add the missing back-reference in sm8750.dtsi inside the displayport-controller@af54000 node:

/* In displayport-controller@af54000 */
ports {
    port@1 {
        endpoint {
            remote-endpoint = <&phy_dp_endpoint>;  /* phandle to phy@88e8000/ports/port@2/endpoint */
        };
    };
};

And label the PHY endpoint so it can be referenced:

/* In phy@88e8000/ports/port@2 */
endpoint: endpoint {
    remote-endpoint = <&dp_phy_endpoint>;  /* phandle to DP controller port@1/endpoint */
};

Both endpoints must carry matching remote-endpoint phandles pointing to each other to satisfy the graph_endpoint bidirectionality check.

Reproduce locally:

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

Verdict

1 blocker to fix before merge: the dtb-check failure requires adding a bidirectional remote-endpoint back-reference in the displayport-controller@af54000/ports/port@1/endpoint node in sm8750.dtsi to match the PHY's port@2/endpoint reference.

… the QMP Combo PHY

Allow mode-switch events to reach the QMP Combo PHY to support
setting the QMP Combo PHY in DP 4Lanes Altmode.

Signed-off-by: Saurabh Anand <saurabh.anand@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260515071448.1845500-1-saurabh.anand@oss.qualcomm.com/
@qcomlnxci qcomlnxci requested a review from a team May 18, 2026 09:58
@sgaud-quic
Copy link
Copy Markdown
Contributor

PR #1167 — validate-patch

PR: #1167

Verdict Issues Detailed Report
0 Full report
Verdict: ✅ — click to expand

🔍 Patch Validation

PR: FROMLIST: arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY — PR #1167
Upstream commit: https://lore.kernel.org/all/20260515071448.1845500-1-saurabh.anand@oss.qualcomm.com/
Verdict: ✅ PASS


Commit Message

Check Status Note
Subject matches upstream FROMLIST: arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY — prefix space now correct
Body preserves rationale Body correctly states the purpose: DP 4Lanes Altmode support via QMP Combo PHY
Fixes tag present/correct N/A Not a bug fix; no Fixes: tag expected
Authorship preserved FROMLIST: — submitter and lore author are the same person (Saurabh Anand); Signed-off-by: present
Backport note (if applicable) N/A Not a backport
Co-developed-by misuse Not present; no misuse

Note on subject fix: The previous PR revision (SHA 8a54eddba02f) had FROMLIST:arm64: (missing space). This revision (SHA 1658116747655b) corrects it to FROMLIST: arm64: — the only change between the two revisions.


Diff

File Status Notes
arch/arm64/boot/dts/qcom/sm8750.dtsi Single-line addition of mode-switch; property before orientation-switch; in the QMP Combo PHY node; minimal and self-contained

Note: Direct lore patch fetch was not possible (network restricted). Diff faithfulness is assessed from the lore URL structure, commit message, and patch content. The change is a trivial single-property DTS addition with no ambiguity — mode-switch; is a standard USB Type-C PHY property alongside the already-present orientation-switch;.


Upstream Patch Status

Commit Community Verdict
arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY ⏳ Decision Pending — posted 2026-05-15 (3 days before this analysis); network restricted, cannot query thread replies or merge status

Dependency Check

  • ✅ No Depends-on: tags or prerequisite series mentioned in commit message
  • ✅ Single-patch series ([PATCH], not [PATCH N/M]); no preceding patches required
  • ✅ DTS-only change; no header or driver changes needed

qcom-next Presence

Commit Status
arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY ⏭️ Skipped — network restricted; verify manually with git log --oneline --grep="sm8750: allow mode-switch" against qcom-next

Issues

None.


Verdict

Patch is correct and ready to merge. The only issue from the previous revision — the missing space in FROMLIST:arm64: — has been fixed. The diff is a minimal, unambiguous single-property DTS addition (mode-switch;) consistent with the lore posting. No authorship, tag, or content issues remain.


Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/all/20260515071448.1845500-1-saurabh.anand@oss.qualcomm.com/
  2. Lore link matches PR commits: Yes — diff content is a minimal, unambiguous single-property DTS addition consistent with the lore subject; direct fetch not possible due to network restrictions
  3. Upstream patch status: ⏳ Decision Pending — posted 2026-05-15, very recently submitted; no merge or rejection evidence available
  4. PR present in qcom-next: ⏭️ Skipped — could not fetch qcom-next; verify manually

@sgaud-quic
Copy link
Copy Markdown
Contributor

PR #1167 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch 0 errors, 0 warnings — clean
dt-binding-check ⏭️ No changes in Documentation/devicetree/bindings — skipped
dtb-check 1 "new" graph_endpoint warning in sm8750.dtsifalse positive (line-number shift)
sparse-check ⏭️ No C/H files changed — skipped
check-uapi-headers ⏭️ No C/H files changed — skipped
check-patch-compliance FROMLIST: prefix present, Link: tag present, content matches — passed
tag-check Commit subject starts with FROMLIST: — valid prefix for branch tech/all/dt/pakala

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: FROMLIST: arm64: dts: qcom: sm8750: allow mode-switch events to reach the QMP Combo PHY (#1167)
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/26026485665

Checker Result Summary
checkpatch 0 errors, 0 warnings — clean
dt-binding-check ⏭️ No changes in Documentation/devicetree/bindings — skipped
dtb-check 1 "new" graph_endpoint warning in sm8750.dtsifalse positive (line-number shift)
sparse-check ⏭️ No C/H files changed — skipped
check-uapi-headers ⏭️ No C/H files changed — skipped
check-patch-compliance FROMLIST: prefix present, Link: tag present, content matches — passed
tag-check Commit subject starts with FROMLIST: — valid prefix for branch tech/all/dt/pakala

❌ dtb-check — FALSE POSITIVE

Root cause: The PR inserts one line (mode-switch;) into sm8750.dtsi, shifting all subsequent line numbers by +1; the checker's grep -vFf diff treats the same pre-existing graph_endpoint warning at the new line number as a newly introduced error.

Failure details:

# base build (pre-PR):
../arch/arm64/boot/dts/qcom/sm8750.dtsi:2823.36-2825.8: Warning (graph_endpoint):
  /soc@0/phy@88e8000/ports/port@2/endpoint: graph connection to node
  '/soc@0/display-subsystem@ae00000/displayport-controller@af54000/ports/port@1/endpoint'
  is not bidirectional

# head build (post-PR) — identical warning, line shifted by 1:
../arch/arm64/boot/dts/qcom/sm8750.dtsi:2824.36-2826.8: Warning (graph_endpoint):
  /soc@0/phy@88e8000/ports/port@2/endpoint: graph connection to node
  '/soc@0/display-subsystem@ae00000/displayport-controller@af54000/ports/port@1/endpoint'
  is not bidirectional

Log Summary: Test failed

The warning node path (/soc@0/phy@88e8000/ports/port@2/endpoint) and message are identical in both builds. Only the source line number differs (2823 → 2824) because mode-switch; was inserted one line above. The grep -vFf comparison is line-number-sensitive, so it incorrectly surfaces this as a new error.

This PR does not introduce any new DT graph connectivity issue. The graph_endpoint bidirectionality warning between phy@88e8000/ports/port@2 and displayport-controller@af54000/ports/port@1 is a pre-existing tree issue in sm8750.dtsi unrelated to the mode-switch property addition.

Fix: No patch change needed. Re-trigger CI — the failure is a checker infrastructure false positive caused by line-number-sensitive diff. If the tree-wide graph_endpoint issue needs addressing, that is a separate pre-existing concern.

Reproduce locally:

# Build base and head DTBs and compare warnings (ignoring line numbers):
make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/sm8750.dtb 2>&1 \
  | grep graph_endpoint | sed 's/:[0-9]*\.[0-9]*-[0-9]*\.[0-9]*:/:<line>:/'

Verdict

No real blocker. The single dtb-check failure is a false positive caused by a 1-line source shift in sm8750.dtsi after inserting mode-switch;. All other checkers pass or are correctly skipped. The PR is ready to merge — re-trigger CI to confirm the false positive clears, or accept the known line-shift artifact.

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