linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: (ucd9000) Add gpio and debugfs interfaces
@ 2018-03-13 20:59 Eddie James
  2018-03-13 20:59 ` [PATCH v2 1/2] hwmon: (ucd9000) Add gpio chip interface Eddie James
  2018-03-13 20:59 ` [PATCH v2 2/2] hwmon: (ucd9000) Add debugfs attributes to provide mfr_status Eddie James
  0 siblings, 2 replies; 11+ messages in thread
From: Eddie James @ 2018-03-13 20:59 UTC (permalink / raw)
  To: linux-hwmon; +Cc: linux-kernel, jdelvare, linux, joel, Eddie James

The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.

Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.

Changes since v1:
 - dropped dev_err messages
 - made gpio chip registration conditional on having gpio pins
 - made mfr_status debugfs attribute more simple

Christopher Bostic (2):
  hwmon: (ucd9000) Add gpio chip interface
  hwmon: (ucd9000) Add debugfs attributes to provide mfr_status

 drivers/hwmon/pmbus/ucd9000.c | 341 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 340 insertions(+), 1 deletion(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-03-16  6:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 20:59 [PATCH v2 0/2] hwmon: (ucd9000) Add gpio and debugfs interfaces Eddie James
2018-03-13 20:59 ` [PATCH v2 1/2] hwmon: (ucd9000) Add gpio chip interface Eddie James
2018-03-13 21:13   ` Andy Shevchenko
2018-03-14 18:55     ` Guenter Roeck
2018-03-14 19:01       ` Eddie James
2018-03-16  5:26   ` kbuild test robot
2018-03-16  6:01   ` kbuild test robot
2018-03-13 20:59 ` [PATCH v2 2/2] hwmon: (ucd9000) Add debugfs attributes to provide mfr_status Eddie James
2018-03-14 19:19   ` Guenter Roeck
2018-03-14 19:46     ` Eddie James
2018-03-14 21:16       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).