blob: 2556261739b66e11d9112a12d04ffe62533bad7e [file] [log] [blame]
# Sensor id is the key
0x60:
sensorType: 0x07
sensorReadingType: 0x6F
# A "set" operation on this sensor should update this d-bus path.
# If the path is not specified, an MRW parser will try to determine the path
# based on the sensor id, on MRW based systems. This typically happens for
# inventory items.
path: /org/open_power/control/occ0
# The interface that exposes method(s) to update the path above.
serviceInterface: org.freedesktop.DBus.Properties
# Where the sensor value is represented - assertion bits/reading/event data
readingType: assertion
eventType: 0x6F
# All the d-bus interfaces : properties that must be updated for this path
interfaces:
# One or more interface dict entries
org.open_power.OCC.Status:
OccActive:
# Sensor type specific offset
0x06:
# OccActive is a boolean
type: "bool"
# If offset 0x06 is asserted, set OccActive as false.
assert: "false"
deassert: "true"
0x61:
sensorType: 0x04
sensorReadingType: 0x6F
# Inventory paths intentionally leave out the inventory root,
# /xyz/openbmc_project/inventory, because phosphor-inventory-manager
# adds that.
path: /system/chassis/motherboard/dimm1
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
interfaces:
xyz.openbmc_project.Inventory.Item:
Present:
6:
assert: true
deassert: false
type: bool
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
4:
assert: false
deassert: true
type: bool
0x63:
interfaces:
xyz.openbmc_project.Control.Boot.RebootAttempts:
AttemptsLeft:
0xFF:
type: uint32_t
path: /xyz/openbmc_project/state/host0
# A special case of assertion, where the entire assert bitfield
# serves as the value, or reading. Hence, the offset above is intentionally
# 0xFF, to indicate not to check any specific bits in the assertion.
readingType: readingAssertion
sensorReadingType: 0x6F
sensorType: 0xC3
serviceInterface: org.freedesktop.DBus.Properties
0x62:
interfaces:
xyz.openbmc_project.Control.Boot.RebootAttempts:
AttemptsLeft:
0xFF:
type: uint32_t
path: /xyz/openbmc_project/state/host1
readingType: readingAssertion
sensorReadingType: 0x6F
sensorType: 0xC3
serviceInterface: org.freedesktop.DBus.Properties