[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1521053551-29903-1-git-send-email-eajames@linux.vnet.ibm.com>
Date: Wed, 14 Mar 2018 13:52:29 -0500
From: Eddie James <eajames@...ux.vnet.ibm.com>
To: linux-hwmon@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, jdelvare@...e.com,
linux@...ck-us.net, joel@....id.au, andy.shevchenko@...il.com,
Eddie James <eajames@...ux.vnet.ibm.com>
Subject: [PATCH v3 0/2] hwmon: (ucd9000) Add gpio and debugfs interfaces
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 v2:
- split the gpio registration into it's own function
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 | 340 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 339 insertions(+), 1 deletion(-)
--
1.8.3.1
Powered by blists - more mailing lists