summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2018-01-22 16:11:43 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-14 21:29:29 +0000
commit8a3b49d25419df8227ea88b18bc670865ec442b1 (patch)
tree3a83287a0c926de0a40e4ac0a2dc0318d1e91f85
parentdfa9e650af73db752e561aab3746f8ccca453b6c (diff)
downloadphosphor-dbus-interfaces-8a3b49d25419df8227ea88b18bc670865ec442b1.zip
phosphor-dbus-interfaces-8a3b49d25419df8227ea88b18bc670865ec442b1.tar.gz
Add MaxValue and MinValue interface to Sensors
To be able to correctly tell an error has occurred, as well as to be able to dynamically create sensor scaling factors the MaxValue and MinValue interface need to be added. This commit adds these to the interface. Change-Id: I8f0abfa3446350329c38210beb540faddc0a65a0 Signed-off-by: James Feist <james.feist@linux.intel.com>
-rw-r--r--xyz/openbmc_project/Sensor/Value.interface.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Sensor/Value.interface.yaml b/xyz/openbmc_project/Sensor/Value.interface.yaml
index daa7f24..5e1b345 100644
--- a/xyz/openbmc_project/Sensor/Value.interface.yaml
+++ b/xyz/openbmc_project/Sensor/Value.interface.yaml
@@ -21,6 +21,14 @@ properties:
type: int64
description: >
The sensor reading.
+ - name: MaxValue
+ type: int64
+ description: >
+ The Maximum supported sensor reading.
+ - name: MinValue
+ type: int64
+ description: >
+ The Minimum supported sensor reading.
- name: Unit
type: enum[self.Unit]
description: >
OpenPOWER on IntegriCloud