[PATCH linux dev-4.10 v5 0/2] Add user space accessibility for ucd9000 stats
Christopher Bostic
cbostic at linux.vnet.ibm.com
Wed Aug 30 06:08:11 AEST 2017
This set provides means to allow user space to access various properties of the
ucd9000 type chips.
patch 0001 Adds gpio_chip interface for user to access various GPIO pin states
via the /sys/class/gpio interface.
Patch 0002 adds a debugfs for mfr_status information so user space can gain
visibility of gpi type faults. Note that there are limitations on type of devices
that debugfs supports. Presently only ucd90160 is supported. Any assumptions made
as to formatting of data is commented inline in the code. Any expansion to other
ucd9000 types will need to take this into consideration.
Christopher Bostic (2):
hwmon: (ucd9000) Add gpio chip interface and clear logged faults
hwmon: (ucd9000) Add debugfs for mfr_status info
drivers/hwmon/pmbus/ucd9000.c | 404 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 402 insertions(+), 2 deletions(-)
--
1.8.2.2
More information about the openbmc
mailing list