hwmon: (scpi) add energy meter support
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 25 Jan 2016 10:53:38 +0000 (10:53 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 16 Feb 2016 09:26:27 +0000 (09:26 +0000)
commitfb3b07ef399bd6984f3361a709829618b75e98d8
tree55d75f9fd410020a3195b4708a59b071781efc2f
parent2e8741599cf128ea27674d9ae93b46e847f820b4
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>
drivers/hwmon/scpi-hwmon.c
include/linux/scpi_protocol.h