summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2018-02-06 14:22:28 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-02 20:43:27 +0300
commit6feec3258899d05d2a1fbcf5a623dad9dbf81b60 (patch)
tree1529eeba649ca40c2a986a6097cf21f01665be8c
parent48ac60b4d039ed1bf31656ea551f3fc0f1a202bd (diff)
downloadopenbmc-6feec3258899d05d2a1fbcf5a623dad9dbf81b60.tar.xz
TurboAllowed: Add support for TurboAllowed sensor type
Resolves openbmc/openbmc#2500 Change-Id: I7caaf07f1d9f6d54d2e92a382d675ef450db2c8e Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
index 6ca7c0e1f..5ec5810f6 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -208,3 +208,21 @@ host_auto_reboot_control_sensor:
0x01:
type: "bool"
assert: true
+
+turbo_allowed_sensor:
+ path: /xyz/openbmc_project/control/host0/turbo_allowed
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: assertion
+ sensorNamePattern: nameLeaf
+ interfaces:
+ xyz.openbmc_project.Control.Host.TurboAllowed:
+ TurboAllowed:
+ Offsets:
+ 0x00:
+ assert: false
+ deassert: true
+ type: bool
+ 0x01:
+ assert: true
+ deassert: false
+ type: bool