drivers: opamp: mspm0: add GPAMP driver #127032
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 193 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.344
Diff Size
diff_size
0.315
Real PR Conversation Timeline
1 comments
"Review active on #127032"
general
weight: 0.35
KozhinovAlexander
Add a Zephyr opamp driver for the MSPM0 General Purpose Amplifier (GPAMP).
GPAMP has no dedicated register block — it's controlled by the PMUOPAMP register inside SYSCTL, so the device node is a child of the SYSCTL syscon node and is accessed via syscon_write_reg/syscon_read_reg rather than a mapped reg.
The amplifier has no internal gain stage; gain is set by the external feedback network. The driver only supports follower and standalone functional modes
set_gain() follows the opamp_functional_mode contract: in follower mode it only accepts OPAMP_GAIN_1 (else -ENOTSUP); in standalone mode the call is a documented no-op and returns 0.
Input routing (NSEL), chopping mode/frequency, and RRI input-stage selection are all devicetree-driven, derived from functional-mode and ti,* properties at build time via BUILD_ASSERT-checked macros.
Testing:
-->
<img width="737" height="317" alt="image" src="https://github.com/user-attachments/assets/61b62bda-4cf5-4ee0-b0b5-2d8c4a2d35ea" />