1*1bb0d387SDeepak Kodihalli# Sensor id is the key
2*1bb0d387SDeepak Kodihalli0x60:
3*1bb0d387SDeepak Kodihalli  sensorType: 0x07
447bf3eddSRatan Gupta  sensorReadingType: 0x6F
5*1bb0d387SDeepak Kodihalli  # A "set" operation on this sensor should update this d-bus path.
6*1bb0d387SDeepak Kodihalli  # If the path is not specified, an MRW parser will try to determine the path
7*1bb0d387SDeepak Kodihalli  # based on the sensor id, on MRW based systems.  This typically happens for
8*1bb0d387SDeepak Kodihalli  # inventory items.
9*1bb0d387SDeepak Kodihalli  path: /org/open_power/control/occ0
10*1bb0d387SDeepak Kodihalli  # The interface that exposes method(s) to update the path above.
11*1bb0d387SDeepak Kodihalli  serviceInterface: org.freedesktop.DBus.Properties
12*1bb0d387SDeepak Kodihalli  # Where the sensor value is represented - assertion bits/reading/event data
13e0af7209SDhruvaraj Subhashchandran  readingType: assertion
14*1bb0d387SDeepak Kodihalli  eventType: 0x6F
15*1bb0d387SDeepak Kodihalli  # All the d-bus interfaces : properties that must be updated for this path
1647bf3eddSRatan Gupta  interfaces:
17*1bb0d387SDeepak Kodihalli    # One or more interface dict entries
18*1bb0d387SDeepak Kodihalli    org.open_power.OCC.Status:
19*1bb0d387SDeepak Kodihalli      OccActive:
20*1bb0d387SDeepak Kodihalli        # Sensor type specific offset
21*1bb0d387SDeepak Kodihalli        0x06:
22*1bb0d387SDeepak Kodihalli          # OccActive is a boolean
23*1bb0d387SDeepak Kodihalli          type: "bool"
24*1bb0d387SDeepak Kodihalli          # If offset 0x06 is asserted, set OccActive as false.
2547bf3eddSRatan Gupta          assert: "false"
26*1bb0d387SDeepak Kodihalli          deassert: "true"
27*1bb0d387SDeepak Kodihalli
28*1bb0d387SDeepak Kodihalli0x61:
29*1bb0d387SDeepak Kodihalli  sensorType: 0x04
30*1bb0d387SDeepak Kodihalli  sensorReadingType: 0x6F
31*1bb0d387SDeepak Kodihalli  # Inventory paths intentionally leave out the inventory root,
32*1bb0d387SDeepak Kodihalli  # /xyz/openbmc_project/inventory, because phosphor-inventory-manager
33*1bb0d387SDeepak Kodihalli  # adds that.
34*1bb0d387SDeepak Kodihalli  path: /system/chassis/motherboard/dimm1
35*1bb0d387SDeepak Kodihalli  serviceInterface: xyz.openbmc_project.Inventory.Manager
36*1bb0d387SDeepak Kodihalli  readingType: assertion
37*1bb0d387SDeepak Kodihalli  interfaces:
3847bf3eddSRatan Gupta    xyz.openbmc_project.Inventory.Item:
3947bf3eddSRatan Gupta      Present:
40*1bb0d387SDeepak Kodihalli        6:
41*1bb0d387SDeepak Kodihalli          assert: true
42*1bb0d387SDeepak Kodihalli          deassert: false
4347bf3eddSRatan Gupta          type: bool
44*1bb0d387SDeepak Kodihalli    xyz.openbmc_project.State.Decorator.OperationalStatus:
45*1bb0d387SDeepak Kodihalli      Functional:
46*1bb0d387SDeepak Kodihalli        4:
47*1bb0d387SDeepak Kodihalli          assert: false
48*1bb0d387SDeepak Kodihalli          deassert: true
49*1bb0d387SDeepak Kodihalli          type: bool
50*1bb0d387SDeepak Kodihalli
51*1bb0d387SDeepak Kodihalli0x63:
52e0af7209SDhruvaraj Subhashchandran  interfaces:
53e0af7209SDhruvaraj Subhashchandran    xyz.openbmc_project.Control.Boot.RebootAttempts:
54e0af7209SDhruvaraj Subhashchandran      AttemptsLeft:
55e0af7209SDhruvaraj Subhashchandran        0xFF:
56e0af7209SDhruvaraj Subhashchandran          type: uint32_t
57*1bb0d387SDeepak Kodihalli  path: /xyz/openbmc_project/state/host0
58*1bb0d387SDeepak Kodihalli  # A special case of assertion, where the entire assert bitfield
59*1bb0d387SDeepak Kodihalli  # serves as the value, or reading. Hence, the offset above is intentionally
60*1bb0d387SDeepak Kodihalli  # 0xFF, to indicate not to check any specific bits in the assertion.
61*1bb0d387SDeepak Kodihalli  readingType: readingAssertion
6247bf3eddSRatan Gupta  sensorReadingType: 0x6F
63*1bb0d387SDeepak Kodihalli  sensorType: 0xC3
64*1bb0d387SDeepak Kodihalli  serviceInterface: org.freedesktop.DBus.Properties
65*1bb0d387SDeepak Kodihalli
66*1bb0d387SDeepak Kodihalli0x62:
6747bf3eddSRatan Gupta  interfaces:
68*1bb0d387SDeepak Kodihalli    xyz.openbmc_project.Control.Boot.RebootAttempts:
69*1bb0d387SDeepak Kodihalli      AttemptsLeft:
70*1bb0d387SDeepak Kodihalli        0xFF:
71*1bb0d387SDeepak Kodihalli          type: uint32_t
72*1bb0d387SDeepak Kodihalli  path: /xyz/openbmc_project/state/host1
73*1bb0d387SDeepak Kodihalli  readingType: readingAssertion
7447bf3eddSRatan Gupta  sensorReadingType: 0x6F
75*1bb0d387SDeepak Kodihalli  sensorType: 0xC3
76*1bb0d387SDeepak Kodihalli  serviceInterface: org.freedesktop.DBus.Properties
77