Skip to content

Drivers: max17055: retrieve the current value #93034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samueltardieu
Copy link
Contributor

@samueltardieu samueltardieu commented Jul 11, 2025

The MAX17055 peripheral allows measuring the current value (which corresponds to the instantaneous value). Add a SENSOR_CHAN_MAX17055_CURRENT enumeration value, and retrieve the data from the 0x0a device register.

ubieda
ubieda previously approved these changes Jul 11, 2025
Copy link
Member

@ubieda ubieda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but please fix CI

The MAX17055 peripheral allows measuring the current
value (which corresponds to the instantaneous value). Add a
`SENSOR_CHAN_MAX17055_CURRENT` enumeration value, and retrieve the data
from the `0x0a` device register.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
@samueltardieu
Copy link
Contributor Author

Looks good, but please fix CI

I switched it to a private MAX17055 extension, as was done already for the open-circuit voltage. This should also fix the CI.

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sensors Sensors platform: ADI Analog Devices, Inc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants