Add Flex BMR467 PMBus PoL regulator device driver#1439
Merged
Conversation
Add surf.devices.flex package with a Bmr467 PyRogue device derived from surf.protocols.i2c.PMBus. Standard PMBus commands not supported by the BMR467 are removed via notImplemented, and the manufacturer-specific commands (0xAD-0xFD) from the BMR467 technical specification are added. Block-format commands are stubbed out as comments since the I2C core only supports fixed-width transfers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## pre-release #1439 +/- ##
================================================
- Coverage 36.66% 25.23% -11.44%
================================================
Files 28 258 +230
Lines 1459 20423 +18964
================================================
+ Hits 535 5153 +4618
- Misses 924 15270 +14346 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
scompa18
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a PyRogue device driver for the Flex BMR467 series PMBus PoL regulator (Input 7.5–14 V, Output up to 120 A / 216 W).
A new `surf/devices/flex/` package was created, modeled on the existing `surf/devices/intel/_EM22xx.py` template and the `surf/devices/analog_devices/_Ltm4664.py` MFR-extension pattern. Register definitions are derived from the BMR467 technical specification (doc 28701-BMR 467 Rev E).
Changes
Verification