linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: (pmbus) add power from energy readings
@ 2022-07-06 10:40 Kallas, Pawel
  2022-07-06 10:40 ` [PATCH 1/3] hwmon: (pmbus) add support for QUERY command Kallas, Pawel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kallas, Pawel @ 2022-07-06 10:40 UTC (permalink / raw)
  To: linux, jdelvare, corbet, linux-hwmon, linux-kernel, linux-doc
  Cc: iwona.winiarska, pawel.kallas

Add support for reading EIN or EOUT registers and expose power calculated
from energy. This is more accurate than PIN and POUT power readings.
Readings are exposed in new hwmon files power1_average and power2_average.
Also add support for QUERY command that is needed to check availability
of EIN and EOUT reads and its data format. Only direct data format is
supported due to lack of test devices supporting other formats.

Kallas, Pawel (3):
  hwmon: (pmbus) add support for QUERY command
  hwmon: (pmbus) refactor sensor initialization
  hwmon: (pmbus) add EIN and EOUT readings

 Documentation/hwmon/pmbus-core.rst |   7 +
 drivers/hwmon/pmbus/pmbus.c        |  20 +++
 drivers/hwmon/pmbus/pmbus.h        |  19 +++
 drivers/hwmon/pmbus/pmbus_core.c   | 261 +++++++++++++++++++++++++++--
 4 files changed, 291 insertions(+), 16 deletions(-)


base-commit: 7c1de25c06f31b04744beae891baf147af9ba0cb

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

end of thread, other threads:[~2022-07-14 13:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-06 10:40 [PATCH 0/3] hwmon: (pmbus) add power from energy readings Kallas, Pawel
2022-07-06 10:40 ` [PATCH 1/3] hwmon: (pmbus) add support for QUERY command Kallas, Pawel
2022-07-06 10:40 ` [PATCH 2/3] hwmon: (pmbus) refactor sensor initialization Kallas, Pawel
2022-07-06 10:40 ` [PATCH 3/3] hwmon: (pmbus) add EIN and EOUT readings Kallas, Pawel
2022-07-06 13:17 ` [PATCH 0/3] hwmon: (pmbus) add power from energy readings Guenter Roeck
2022-07-07 14:01   ` Kallas, Pawel
2022-07-07 14:09     ` Guenter Roeck
2022-07-07 16:00       ` Kallas, Pawel
2022-07-14 13:38         ` 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).