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

Andrew Jeffery andrew at aj.id.au
Fri Sep 8 16:07:58 AEST 2017


On Thu, 2017-09-07 at 13:37 -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.
> 
> Note also that no pinmux support is provided at this point.  The ucd9000 devs do
> have mux capability so this should be added.
> 
> v6 patch 0001 which covers the addition of a 'clear logged faults' sysfs file is
> now gone.   There are a few open questions in terms of requirements.
> Specifically, why clear when no one reads the faults out?  This was pointed out
> by Guenter Roeck.  Consequently v6 patch 0002 is now v7/v8 patch 0001,  v6 patch
> 0003 is v7/v8 patch 0002.
> 
> Christopher Bostic (2):
>   hwmon: (ucd9000) Add gpio chip interface
>   hwmon: (ucd9000) Add debugfs to list mfr_status info

Series applied to dev-4.10.

Thanks,

Andrew

> 
>  drivers/hwmon/pmbus/ucd9000.c | 369 +++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 368 insertions(+), 1 deletion(-)
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170908/a7c4216b/attachment.sig>


More information about the openbmc mailing list