[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220706104024.3118590-1-pawel.kallas@intel.com>
Date: Wed, 6 Jul 2022 12:40:21 +0200
From: "Kallas, Pawel" <pawel.kallas@...el.com>
To: linux@...ck-us.net, jdelvare@...e.com, corbet@....net,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Cc: iwona.winiarska@...el.com, pawel.kallas@...el.com
Subject: [PATCH 0/3] hwmon: (pmbus) add power from energy readings
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
Powered by blists - more mailing lists