Skip to content

Add user space accessibility for ucd9000 stats

Christopher Bostic openbmc 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 1 replyIn review
  2. v72 patches 4 repliesSuperseded
  3. v63 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v52 patches4 repliesSuperseded
v42 patches6 repliesSuperseded
v32 patches7 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hwmon: (ucd9000) Add gpio chip interfacedrivers/hwmon/pmbus/ucd9000.c+206 -00 replies
2/2hwmon: (ucd9000) Add debugfs to list mfr_status infodrivers/hwmon/pmbus/ucd9000.c+162 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

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

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

 drivers/hwmon/pmbus/ucd9000.c | 369 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 368 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.2.2