Add thermal fault state sensor definition
Add a PDR definition for a new state sensor that is used to describe a
thermal fault. This sensor has entity ID 91, cooling subsystem, and
uses the thermal trip state set, 21.
The D-Bus property behind it is provided by the phosphor-fan-monitor
application. On IBM systems, this will be used to notify the host of
impending shutdowns due to fan faults.
At the current time, phosphor-fan-monitor only runs when system power is
on.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ia0fb8829fc602a40c7901b41223a54fc408461ea
diff --git a/configurations/pdr/4.json b/configurations/pdr/4.json
new file mode 100644
index 0000000..98f4620
--- /dev/null
+++ b/configurations/pdr/4.json
@@ -0,0 +1,26 @@
+{
+ "sensorPDRs": [
+ {
+ "pdrType" : 4,
+ "entries" : [{
+ "type" : 91,
+ "instance" : 0,
+ "container" : 0,
+ "sensors" : [{
+ "set" : {
+ "id" : 21,
+ "size" : 1,
+ "states" : [1,2]
+ },
+ "dbus" : {
+ "path": "/xyz/openbmc_project/alerts/thermal_fault_alert",
+ "interface": "xyz.openbmc_project.Object.Enable",
+ "property_name": "Enabled",
+ "property_type": "bool",
+ "property_values" : [false, true]
+ }
+ }]
+ }]
+ }]
+}
+