1# Sensor id is the key 20x60: 3 sensorType: 0x07 4 sensorReadingType: 0x6F 5 # A "set" operation on this sensor should update this d-bus path. 6 # If the path is not specified, an MRW parser will try to determine the path 7 # based on the sensor id, on MRW based systems. This typically happens for 8 # inventory items. 9 path: /org/open_power/control/occ0 10 # The interface that exposes method(s) to update the path above. 11 serviceInterface: org.freedesktop.DBus.Properties 12 # Where the sensor value is represented - assertion bits/reading/event data 13 readingType: assertion 14 eventType: 0x6F 15 # All the d-bus interfaces : properties that must be updated for this path 16 interfaces: 17 # One or more interface dict entries 18 org.open_power.OCC.Status: 19 OccActive: 20 Offsets: 21 # Sensor type specific offset 22 0x06: 23 # OccActive is a boolean 24 type: "bool" 25 # If offset 0x06 is asserted, set OccActive as false. 26 assert: "false" 27 deassert: "true" 28 290x61: 30 sensorType: 0x04 31 sensorReadingType: 0x6F 32 # Inventory paths intentionally leave out the inventory root, 33 # /xyz/openbmc_project/inventory, because phosphor-inventory-manager 34 # adds that. 35 path: /system/chassis/motherboard/dimm1 36 serviceInterface: xyz.openbmc_project.Inventory.Manager 37 readingType: assertion 38 interfaces: 39 xyz.openbmc_project.State.Decorator.OperationalStatus: 40 Functional: 41 #Offsets contain the offsets in the sensor data. 42 Offsets: 43 0x06: 44 assert: true 45 deassert: false 46 type: bool 47 #Prereqs are pre-requisites for this property value to be true. 48 Prereqs: 49 0x04: 50 assert: false 51 deassert: true 52 type: bool 53 xyz.openbmc_project.Inventory.Item: 54 Present: 55 Offsets: 56 0x04: 57 assert: false 58 deassert: true 59 type: bool 60 610x63: 62 interfaces: 63 xyz.openbmc_project.Control.Boot.RebootAttempts: 64 AttemptsLeft: 65 Offsets: 66 0xFF: 67 type: uint32_t 68 path: /xyz/openbmc_project/state/host0 69 # A special case of assertion, where the entire assert bitfield 70 # serves as the value, or reading. Hence, the offset above is intentionally 71 # 0xFF, to indicate not to check any specific bits in the assertion. 72 readingType: readingAssertion 73 sensorReadingType: 0x6F 74 sensorType: 0xC3 75 serviceInterface: org.freedesktop.DBus.Properties 76 770x62: 78 interfaces: 79 xyz.openbmc_project.Control.Boot.RebootAttempts: 80 AttemptsLeft: 81 Offsets: 82 0xFF: 83 type: uint32_t 84 path: /xyz/openbmc_project/state/host1 85 readingType: readingAssertion 86 sensorReadingType: 0x6F 87 sensorType: 0xC3 88 serviceInterface: org.freedesktop.DBus.Properties 89 900xD0: 91 sensorType: 0x01 92 path: /xyz/openbmc_project/sensors/temperature/fleeting0 93 sensorReadingType: 0x01 94 multiplierM: 511 95 offsetB: 0 96 bExp: 0 97 mutability: Mutability::Write|Mutability::Read 98 serviceInterface: org.freedesktop.DBus.Properties 99 readingType: readingData 100 interfaces: 101 xyz.openbmc_project.Sensor.Value: 102 Value: 103 Offsets: 104 0xFF: 105 type: int64_t 106 1070x54: 108 sensorType: 0x07 109 path: /system/chassis/motherboard/cpu0/core22 110 sensorReadingType: 0x6F 111 serviceInterface: xyz.openbmc_project.Inventory.Manager 112 readingType: assertion 113 interfaces: 114 xyz.openbmc_project.State.Decorator.OperationalStatus: 115 Functional: 116 Offsets: 117 0x08: 118 assert: false 119 deassert: true 120 type: bool 121 Prereqs: 122 0x07: 123 assert: true 124 deassert: false 125 xyz.openbmc_project.Inventory.Item: 126 Present: 127 Offsets: 128 0x07: 129 assert: true 130 deassert: false 131 #The update will be skipped based on the value of skipOn 132 #in this case if offset 0x07 is deasserted 133 #the update will be skipped. 134 skipOn: deassert 135 type: bool 136