Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 1 | # Sensor id is the key |
| 2 | 0x60: |
| 3 | sensorType: 0x07 |
Ratan Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 4 | sensorReadingType: 0x6F |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 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 |
Dhruvaraj Subhashchandran | e0af720 | 2017-07-12 06:35:20 -0500 | [diff] [blame] | 13 | readingType: assertion |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 14 | eventType: 0x6F |
| 15 | # All the d-bus interfaces : properties that must be updated for this path |
Ratan Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 16 | interfaces: |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 17 | # 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 Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 25 | assert: "false" |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 26 | deassert: "true" |
| 27 | |
| 28 | 0x61: |
| 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 Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 38 | xyz.openbmc_project.Inventory.Item: |
| 39 | Present: |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 40 | 6: |
| 41 | assert: true |
| 42 | deassert: false |
Ratan Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 43 | type: bool |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 44 | xyz.openbmc_project.State.Decorator.OperationalStatus: |
| 45 | Functional: |
| 46 | 4: |
| 47 | assert: false |
| 48 | deassert: true |
| 49 | type: bool |
| 50 | |
| 51 | 0x63: |
Dhruvaraj Subhashchandran | e0af720 | 2017-07-12 06:35:20 -0500 | [diff] [blame] | 52 | interfaces: |
| 53 | xyz.openbmc_project.Control.Boot.RebootAttempts: |
| 54 | AttemptsLeft: |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 55 | 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 Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 62 | sensorReadingType: 0x6F |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 63 | sensorType: 0xC3 |
| 64 | serviceInterface: org.freedesktop.DBus.Properties |
| 65 | |
| 66 | 0x62: |
Ratan Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 67 | interfaces: |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 68 | 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 Gupta | 47bf3ed | 2017-03-04 08:33:57 +0530 | [diff] [blame] | 74 | sensorReadingType: 0x6F |
Deepak Kodihalli | 1bb0d38 | 2017-08-12 02:01:27 -0500 | [diff] [blame] | 75 | sensorType: 0xC3 |
| 76 | serviceInterface: org.freedesktop.DBus.Properties |
Emily Shaffer | cc941e1 | 2017-06-14 13:06:26 -0700 | [diff] [blame] | 77 | |
| 78 | 0xD0: |
| 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 | |