← Back to Pull requests

drivers: sensor: icm4268x: emulate the ICM42686 and IIM42653 #127630

Merged
kartben merged 1 files (87 lines) on Dec 03, 2026 14:15 UTC
View on GitHub
kartben kartben commented on Nov 30, 2026 10:17 UTC
Author

The ICM4268X emulator only instantiated invensense,icm42688 nodes, although CONFIG_EMUL_ICM4268X is enabled for every variant. On control_n1, whose IMUs are IIM-42653, any build with CONFIG_EMUL (here drivers.eeprom.emul.build) compiled it without an instance and failed on unused functions.

It now emulates every invensense,icm4268x node, with the variant's WHO_AM_I value and its 32 g and 4000 dps ranges at FS_SEL 0. The sensor generic test now also runs on the ICM42686 and IIM42653 nodes of build_all.

Diff: 87 lines (+54 / -33) across 1 files Reviewer: afontaine-invn Review duration: 4557m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.30) × (1 − Review Confidence (0.50)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 87 lines diff across 1 files
0.30
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
50%
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
Shallow Review Depth shallow_review_depth
0.350
Diff Size diff_size
0.268
Real PR Conversation Timeline
3 items
afontaine-invn afontaine-invn approved these changes on Dec 01, 2026 08:16 UTC
Approved Reviewer

Approved these changes.

rbuisson-invn rbuisson-invn approved these changes on Dec 01, 2026 08:18 UTC
Approved Reviewer

Approved these changes.

Assignees
kartben kartben
Labels
risk: low confidence: 50% 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: 29.8% (LOW) · Higher = larger blast radius
29.8%
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: 50% · Lower = rushed or shallow review
50%
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: 14.9% · Safe to merge
14.9%