commit | c10e753d43ebd1d17e1c62bcee20c6124c2c7cca | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.vnet.ibm.com> | Thu Nov 08 15:05:27 2018 -0600 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Dec 16 15:13:09 2018 -0800 |
tree | 2aadb1d0e38e86b937483bee2f8921f6535c9caf | |
parent | aa195fe49b033db545ad986cdb2c431c37bea557 [diff] |
hwmon (occ): Add sensor types and versions 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>