blob: c4ff4d5dee3128447e28a17d4e9ee3ff745c773c [file] [log] [blame]
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -05001# Sensor id is the key
20x60:
3 sensorType: 0x07
Ratan Gupta47bf3ed2017-03-04 08:33:57 +05304 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -05005 # 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
Dhruvaraj Subhashchandrane0af7202017-07-12 06:35:20 -050013 readingType: assertion
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050014 eventType: 0x6F
15 # All the d-bus interfaces : properties that must be updated for this path
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053016 interfaces:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050017 # One or more interface dict entries
18 org.open_power.OCC.Status:
19 OccActive:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -050020 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"
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050028
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:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050039 xyz.openbmc_project.State.Decorator.OperationalStatus:
40 Functional:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -050041 #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:
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -050056 0x04:
57 assert: false
58 deassert: true
59 type: bool
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050060
610x63:
Dhruvaraj Subhashchandrane0af7202017-07-12 06:35:20 -050062 interfaces:
63 xyz.openbmc_project.Control.Boot.RebootAttempts:
64 AttemptsLeft:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -050065 Offsets:
66 0xFF:
67 type: uint32_t
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050068 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
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053073 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050074 sensorType: 0xC3
75 serviceInterface: org.freedesktop.DBus.Properties
76
770x62:
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053078 interfaces:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050079 xyz.openbmc_project.Control.Boot.RebootAttempts:
80 AttemptsLeft:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -050081 Offsets:
82 0xFF:
83 type: uint32_t
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050084 path: /xyz/openbmc_project/state/host1
85 readingType: readingAssertion
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053086 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050087 sensorType: 0xC3
88 serviceInterface: org.freedesktop.DBus.Properties
Emily Shaffercc941e12017-06-14 13:06:26 -070089
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:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -0500103 Offsets:
104 0xFF:
105 type: int64_t
Emily Shaffercc941e12017-06-14 13:06:26 -0700106
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -05001070x54:
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:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -0500116 Offsets:
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -0500117 0x08:
118 assert: false
119 deassert: true
120 type: bool
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -0500121 Prereqs:
122 0x07:
123 assert: true
124 deassert: false
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -0500125 xyz.openbmc_project.Inventory.Item:
126 Present:
Dhruvaraj Subhashchandrane245e4e2017-10-03 03:58:05 -0500127 Offsets:
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -0500128 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