← Back to Pull requests

Support nxp imxrt2660 psram driver #125107

Open
SuperHeroAbner opened this pull request with 263 lines diff across 11 files
View on GitHub
SuperHeroAbner SuperHeroAbner commented on Nov 09, 2026 08:29 UTC
Author

Add XSPI1 PSRAM initialization support on RT2660EVK. It boots with XMCD to initialize the PSRAM with CONFIG_EXTERNAL_MEM_CONFIG_DATA=y. Here I just add the feature to setup XSPI/PSRAM through application bypass XMCD. Reuse previous similar psram support and add new binding to align the design like flash driver which takes special binding file to make driver recognize which memory is used. Fixed the wrong size setting for nxp memc psram in sample.

Diff: 263 lines (+193 / -70) across 11 files Reviewer: Albort12138 Review duration: 37257m
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.51) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.51 · 263 lines diff across 11 files
0.51
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 1 substantive comment(s)
0.89
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
89%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.334
Real PR Conversation Timeline
3 items
Albort12138 Albort12138 commented on code on Nov 11, 2026 01:59 UTC
Code Review
dts/bindings/mtd/winbond,w958d6.yaml:1
@@ -0,0 +1,8 @@
+# Copyright 2026 NXP

The current approach of treating Winbond and W958D6 as a common DTS definition is not appropriate. The scope of this work is to add support for W958D6 on the XSPI controller, not to create a generic DTS abstraction for different devices.

Albort12138 Albort12138 requested changes on Nov 11, 2026 01:59 UTC
Changes Requested Reviewer

Requested changes.

Reviewers
Assignees
SuperHeroAbner SuperHeroAbner
Labels
risk: low confidence: 89.1% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 51% (MEDIUM) · Higher = larger blast radius
51%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 89.1% · Lower = rushed or shallow review
89.1%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 5.6% · Safe to merge
5.6%