All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-4.10 v6 0/3] Add user space accessibility for ucd9000 stats
@ 2017-08-30 21:49 Christopher Bostic
  2017-08-30 21:49 ` [PATCH linux dev-4.10 v6 1/3] hwmon: (ucd9000) Add interface to clear logged faults Christopher Bostic
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Christopher Bostic @ 2017-08-30 21:49 UTC (permalink / raw)
  To: joel; +Cc: Christopher Bostic, openbmc

This set provides means to allow user space to access various properties of the
ucd9000 type chips.

Patch 0001 Adds a user space means of clearing logged faults.  This ability is
useful in cases where one wants to start with a clean slate during each system
power on.

patch 0002 Adds gpio_chip interface for user to access various GPIO pin states
via the /sys/class/gpio interface.

Patch 0003 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.

Patch 0003 (was patch v5-0002... previously) has been reviewed by Andrew Jeffery,
I did, however, add some small updates to this one:

* Remove ida in bad and unbind paths.
* Remove type ucd90160 check when adding debugfs. Add for all ucd9000 devs.
  Results in cleaner ida code in the remove path.

Christopher Bostic (3):
  hwmon: (ucd9000) Add interface to clear logged faults.
  hwmon: (ucd9000) Add gpio chip interface
  hwmon: (ucd9000) Add debugfs to list mfr_status info

 drivers/hwmon/pmbus/ucd9000.c | 415 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 413 insertions(+), 2 deletions(-)

-- 
1.8.2.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-06 20:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30 21:49 [PATCH linux dev-4.10 v6 0/3] Add user space accessibility for ucd9000 stats Christopher Bostic
2017-08-30 21:49 ` [PATCH linux dev-4.10 v6 1/3] hwmon: (ucd9000) Add interface to clear logged faults Christopher Bostic
2017-08-31 16:11   ` Matt Spinler
2017-08-30 21:49 ` [PATCH linux dev-4.10 v6 2/3] hwmon: (ucd9000) Add gpio chip interface Christopher Bostic
2017-08-31 16:11   ` Matt Spinler
2017-08-30 21:49 ` [PATCH linux dev-4.10 v6 3/3] hwmon: (ucd9000) Add debugfs to list mfr_status info Christopher Bostic
2017-08-31 16:12   ` Matt Spinler
2017-09-01  0:58 ` [PATCH linux dev-4.10 v6 0/3] Add user space accessibility for ucd9000 stats Andrew Jeffery
2017-09-06 20:24   ` Christopher Bostic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.