blob: 98e9ff680512f3991433b52ef27a7bb298e1ffaa [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:
20 # Sensor type specific offset
21 0x06:
22 # OccActive is a boolean
23 type: "bool"
24 # If offset 0x06 is asserted, set OccActive as false.
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053025 assert: "false"
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050026 deassert: "true"
27
280x61:
29 sensorType: 0x04
30 sensorReadingType: 0x6F
31 # Inventory paths intentionally leave out the inventory root,
32 # /xyz/openbmc_project/inventory, because phosphor-inventory-manager
33 # adds that.
34 path: /system/chassis/motherboard/dimm1
35 serviceInterface: xyz.openbmc_project.Inventory.Manager
36 readingType: assertion
37 interfaces:
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053038 xyz.openbmc_project.Inventory.Item:
39 Present:
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -050040 0x06:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050041 assert: true
42 deassert: false
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053043 type: bool
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050044 xyz.openbmc_project.State.Decorator.OperationalStatus:
45 Functional:
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -050046 0x04:
47 assert: false
48 deassert: true
49 type: bool
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050050
510x63:
Dhruvaraj Subhashchandrane0af7202017-07-12 06:35:20 -050052 interfaces:
53 xyz.openbmc_project.Control.Boot.RebootAttempts:
54 AttemptsLeft:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050055 0xFF:
56 type: uint32_t
57 path: /xyz/openbmc_project/state/host0
58 # A special case of assertion, where the entire assert bitfield
59 # serves as the value, or reading. Hence, the offset above is intentionally
60 # 0xFF, to indicate not to check any specific bits in the assertion.
61 readingType: readingAssertion
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053062 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050063 sensorType: 0xC3
64 serviceInterface: org.freedesktop.DBus.Properties
65
660x62:
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053067 interfaces:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050068 xyz.openbmc_project.Control.Boot.RebootAttempts:
69 AttemptsLeft:
70 0xFF:
71 type: uint32_t
72 path: /xyz/openbmc_project/state/host1
73 readingType: readingAssertion
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053074 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050075 sensorType: 0xC3
76 serviceInterface: org.freedesktop.DBus.Properties
Emily Shaffercc941e12017-06-14 13:06:26 -070077
780xD0:
79 sensorType: 0x01
80 path: /xyz/openbmc_project/sensors/temperature/fleeting0
81 sensorReadingType: 0x01
82 multiplierM: 511
83 offsetB: 0
84 bExp: 0
85 mutability: Mutability::Write|Mutability::Read
86 serviceInterface: org.freedesktop.DBus.Properties
87 readingType: readingData
88 interfaces:
89 xyz.openbmc_project.Sensor.Value:
90 Value:
91 0xFF:
92 type: int64_t
93
Dhruvaraj Subhashchandrane84841c2017-08-22 07:40:27 -0500940x54:
95 sensorType: 0x07
96 path: /system/chassis/motherboard/cpu0/core22
97 sensorReadingType: 0x6F
98 serviceInterface: xyz.openbmc_project.Inventory.Manager
99 readingType: assertion
100 interfaces:
101 xyz.openbmc_project.State.Decorator.OperationalStatus:
102 Functional:
103 0x08:
104 assert: false
105 deassert: true
106 type: bool
107 xyz.openbmc_project.Inventory.Item:
108 Present:
109 0x07:
110 assert: true
111 deassert: false
112 #The update will be skipped based on the value of skipOn
113 #in this case if offset 0x07 is deasserted
114 #the update will be skipped.
115 skipOn: deassert
116 type: bool