Skip to content
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

skeleton: Add dbus objects for adm1278 hwmon sensors #57

Merged
merged 1 commit into from
May 11, 2016

Conversation

adamliyi
Copy link
Member

Add dbus object for adm1278 Vout and Iout sensors.
The object name will subject to change after review.

Signed-off-by: Yi Li adamliyi@msn.com


This change is Reviewable

Add dbus object for adm1278 Vout and Iout sensors.
Add the sense resistor as scaling factor in skeleton.

The sense resistor value is used while converting adm1278 'current' and 'power'
register value to real world value. The adm1278 driver does the conversion,
but without taking into account of the sense resistor.
The resistor value need to be set according to Barreleye design.

Signed-off-by: Yi Li <adamliyi@msn.com>
@adamliyi
Copy link
Member Author

Updated this pull request. Add sensor resistor as 'scale' in skeleton. From obmc-linux dev-4.4 we begin to use upstream adm1278 driver. This requires putting sensor resistor as scale in user space. See openbmc/linux#64.

@nkskjames nkskjames merged commit a7bf0ef into openbmc:master May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants