mbox series

[linux,dev-4.13,0/2] hwmon: (ucd9000) Add gpio and debugfs interfaces

Message ID 1520627269-23227-1-git-send-email-eajames@linux.vnet.ibm.com
Headers show
Series hwmon: (ucd9000) Add gpio and debugfs interfaces | expand

Message

Eddie James March 9, 2018, 8:27 p.m. UTC
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.

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

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