Add support for voxlpm (I2C power monitor) (Used by ModalAI FMU v5m) #13132
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.
Describe problem solved by the proposed pull request
Like the FMU v5x, the ModalAI FMU v5m uses an I2C bus for monitoring battery. The 'voxlpm' (VOXL Power Management) board provides QTY2 LTC2946 I2C devices for monitoring of battery voltage/amperage as well as monitoring a 5VDC regulated output voltage/amperage to the companion computer (VOXL). This driver is used in an (upcoming) PR for the FMU v5m board support.
Test data / coverage
This driver has been in test for the last couple months in our flight/bench testing. It's use case is likely tied to the ModalAI FMU v5m for the time being, although the v5x board could use this!
Describe your preferred solution
This driver is started by boards/modalai/fmuv5m/init/rc.boards_sensors
This will be visible in an upcoming PR.
Describe possible alternatives
N/A
Additional context
N/A