diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2016-01-25 10:53:38 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2016-02-16 09:26:27 +0000 |
commit | fb3b07ef399bd6984f3361a709829618b75e98d8 (patch) | |
tree | 55d75f9fd410020a3195b4708a59b071781efc2f /include/linux/scpi_protocol.h | |
parent | 2e8741599cf128ea27674d9ae93b46e847f820b4 (diff) | |
download | lwn-fb3b07ef399bd6984f3361a709829618b75e98d8.tar.gz lwn-fb3b07ef399bd6984f3361a709829618b75e98d8.zip |
hwmon: (scpi) add energy meter support
SCPI specification v1.1 adds support for energy sensors. This patch
adds support for the same.
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'include/linux/scpi_protocol.h')
-rw-r--r-- | include/linux/scpi_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/scpi_protocol.h b/include/linux/scpi_protocol.h index ecd248d46281..35de50a65665 100644 --- a/include/linux/scpi_protocol.h +++ b/include/linux/scpi_protocol.h @@ -33,6 +33,7 @@ enum scpi_sensor_class { VOLTAGE, CURRENT, POWER, + ENERGY, }; struct scpi_sensor_info { |