linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drivers/hwmon/pmbus: Core extensions for STATUS_WORD support and debugfs
@ 2017-08-09 22:19 Eddie James
  2017-08-09 22:19 ` [PATCH 1/4] drivers/hwmon/pmbus: Switch status registers to 16 bit Eddie James
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Eddie James @ 2017-08-09 22:19 UTC (permalink / raw)
  To: linux
  Cc: jdelvare, linux-hwmon, linux-kernel, joel, jk, andrew, cbostic,
	eajames, Edward A. James

From: "Edward A. James" <eajames@us.ibm.com>

This series adds some functionality to the pmbus core.

The first two patches provide support for the STATUS_WORD register. This allows
more default alarm attributes to be used, as the upper byte of the status
register is available. The third patch then uses the STATUS_INPUT bit of the
status register to setup boolean attributes for input voltage and input power
attributes.

The fourth patch provides support for raw reads of pmbus status registers
through the debugfs interface. These can be very useful for hardware
diagnostics, especially on multi-page pmbus devices, as user-space access of
the i2c space could corrupt the pmbus page accounting.

Since RFC series:
 * Just use u16 instead of complicated u8 method for STATUS_WORD.
 * Re-ordered the changes.
 * Added conditional for creating bool attr for higher byte STATUS_WORD bits.

Edward A. James (4):
  drivers/hwmon/pmbus: Switch status registers to 16 bit
  drivers/hwmon/pmbus: Access word data for STATUS_WORD
  drivers/hwmon/pmbus: Add generic alarm bit for iin and pin
  drivers/hwmon/pmbus: Add debugfs for status registers

 drivers/hwmon/pmbus/pmbus.c      |  24 +++-
 drivers/hwmon/pmbus/pmbus.h      |  11 ++
 drivers/hwmon/pmbus/pmbus_core.c | 251 +++++++++++++++++++++++++++++++++++----
 3 files changed, 263 insertions(+), 23 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2017-08-10 20:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09 22:19 [PATCH 0/4] drivers/hwmon/pmbus: Core extensions for STATUS_WORD support and debugfs Eddie James
2017-08-09 22:19 ` [PATCH 1/4] drivers/hwmon/pmbus: Switch status registers to 16 bit Eddie James
2017-08-09 22:19 ` [PATCH 2/4] drivers/hwmon/pmbus: Access word data for STATUS_WORD Eddie James
2017-08-09 22:19 ` [PATCH 3/4] drivers/hwmon/pmbus: Add generic alarm bit for iin and pin Eddie James
2017-08-09 22:19 ` [PATCH 4/4] drivers/hwmon/pmbus: Add debugfs for status registers Eddie James
2017-08-10  1:15   ` Guenter Roeck
2017-08-10 20:15     ` Eddie James
2017-08-10 20:23       ` Eddie James
2017-08-10 20:30         ` Guenter Roeck
2017-08-10 20:29       ` 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).