Skip to content

Commit

Permalink
hwmon (occ): Add sensor types and versions
Browse files Browse the repository at this point in the history
Add structures to define all sensor types and versions. Add sysfs show
and store functions for each sensor type. Add a method to construct the
"set user power cap" command and send it to the OCC. Add rate limit to
polling the OCC (in case user-space reads our hwmon entries rapidly).

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Eddie James authored and Guenter Roeck committed Dec 16, 2018
1 parent aa195fe commit c10e753
Show file tree
Hide file tree
Showing 4 changed files with 629 additions and 0 deletions.
Loading

0 comments on commit c10e753

Please sign in to comment.