mbox series

[linux,dev-4.10,v5,0/2] Add user space accessibility for ucd9000 stats

Message ID 20170829200813.66010-1-cbostic@linux.vnet.ibm.com
Headers show
Series Add user space accessibility for ucd9000 stats | expand

Message

Christopher Bostic Aug. 29, 2017, 8:08 p.m. UTC
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(-)

Comments

Andrew Jeffery Aug. 30, 2017, 3 a.m. UTC | #1
On Tue, 2017-08-29 at 15:08 -0500, Christopher Bostic wrote:
> 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.

Thanks for improving the cover letter!

> 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(-)
>