Add new interface Debug.Pid.Thermal/Power
- According to the issue#27, adding new interface to record the driver
sensor name, driver sensor value and PID loop result to dbus.
interface:
Debug.Pid.ThermalPower => Record the sensor name and reading with the
highest temperature or power in the input
list. And record the result of pid loop
Debug.Pid.Zone => Record the pid config name that that is driving the
fans
refs:
https://github.com/openbmc/phosphor-pid-control/issues/27
Change-Id: I67051616958e07c148eabee658165082855c674d
Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com>
diff --git a/yaml/xyz/openbmc_project/Debug/Pid/Zone.interface.yaml b/yaml/xyz/openbmc_project/Debug/Pid/Zone.interface.yaml
new file mode 100644
index 0000000..076d4fc
--- /dev/null
+++ b/yaml/xyz/openbmc_project/Debug/Pid/Zone.interface.yaml
@@ -0,0 +1,11 @@
+description: >
+ Implement to show the states of the zone.
+
+properties:
+ - name: Leader
+ type: string
+ flags:
+ - readonly
+ description: >
+ This means the name of the thermal/Power PID config that is driving
+ the fans.