]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (pmbus) cffps: Add debugfs entries
authorEdward A. James <eajames@us.ibm.com>
Mon, 11 Dec 2017 21:32:50 +0000 (15:32 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jan 2018 23:05:34 +0000 (15:05 -0800)
commitd6bb645a1704cba3884bf03d5a8bd86915b5e650
tree80e254a0e9f65c3a6b4312461b1a70cc29beed01
parenteb6489b696ad22a8464e20502e18014434b4b0ea
hwmon: (pmbus) cffps: Add debugfs entries

Add debugfs entries for additional power supply data, including part
number, serial number, FRU number, firmware revision, ccin, and the
input history of the power supply. The input history is 10 minutes of
input power data in the form of twenty 30-second packets. Each packet
contains average and maximum power for that 30 second period.

Signed-off-by: Edward A. James <eajames@us.ibm.com>
[groeck: Fixed endianness problem]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c