summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2018-04-04 05:04:29 +0300
committerDeepak Kodihalli <dkodihal@in.ibm.com>2018-04-16 15:12:03 +0300
commitb1fc28bf965d5da1a8c96c9520e590db08fd92fb (patch)
tree116923f4b3d9b9530e55021682aca11751fd54ce /meta-openbmc-machines/meta-openpower
parent00303040a45c60e9f80c57fefbb5b3d5cca89d88 (diff)
downloadopenbmc-b1fc28bf965d5da1a8c96c9520e590db08fd92fb.tar.xz
openpower:added "mutability"
Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: I3dcc27526adc2a5d6b1206e8beee66093220763a Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml2
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
index 12f9bcd80..cf61b0521 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
@@ -1,6 +1,7 @@
occ_active_sensor:
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
sensorNamePattern: nameLeaf
interfaces:
org.open_power.OCC.Status:
@@ -19,6 +20,7 @@ hb_volatile_sensor:
path: /org/open_power/control/volatile
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Object.Enable:
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml
index 2855b0e82..a52a8f042 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml
@@ -6,6 +6,7 @@
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
sensorNamePattern: nameLeaf
interfaces:
org.open_power.OCC.Status:
@@ -27,6 +28,7 @@
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
+ mutability: Mutability::Write|Mutability::Read
sensorNamePattern: nameLeaf
interfaces:
org.open_power.OCC.Status: