hw/arm/rk3588: model PWM output for ROCK 5B #56
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 105 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.289
Diff Size
diff_size
0.279
Real PR Conversation Timeline
1 comments
"Review active on #56"
general
weight: 0.35
yydawx
Summary
Add a four-controller, 16-channel RK3588 PWM model with continuous left-aligned output, polarity, shadow/conlock updates, input clock selection and live migration. Wire the controllers on the ROCK 5B default path and cover the 40-pin PWM routes plus the on-board fan channel with qtest.
One-shot, capture, FIFO/DMA, power-key, center-aligned output and PWM IRQs remain outside this change.
PWM_VERSION_ID
Use TRM V1.0 section 18.4.1 (page 1411), 0x02120B34, as a read-only ID. Section 18.4.2 (page 1425) instead gives 0x021311B6 and marks the fields RW; this is noted for follow-up hardware confirmation.
Validation
Refs: missionhub-oss/mfcp#158