Add enum value "LPM"
Add the necessary sensor units for the flowmeter in the liquid cooling
system: LPM (L/min).
The "dbus-sensors" package now implements the liquidflow sensor, and
the "xyz.openbmc_project.Sensor.Value" should provide the
"LPM" at enum's of "Unit"-property.
End-user-impact:
The "xyz.openbmc_project.Sensor.Value.Unit" now represents the
"LPM" type of liquidflow sensor values.
Change-Id: Ia6f5d30734472d336abe7bac4b05741f557c8807
Signed-off-by: P.K. Lee <p.k.lee@quantatw.com>
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
index c2d548e..81e1c88 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
@@ -9,6 +9,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
index 0329c33..2006a9e 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
@@ -10,6 +10,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
index 8ce09c1..47c49b4 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
@@ -9,6 +9,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
index 6d7184b..b3635d9 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
@@ -9,6 +9,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
index de128f0..efe63cc 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
@@ -9,6 +9,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
diff --git a/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
index 61db8ec..4196600 100644
--- a/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
@@ -8,6 +8,7 @@
energy
fan_tach
humidity
+ liquidflow
power
pressure
temperature
@@ -47,7 +48,8 @@
be "Watts". For objects in the pressure namespace, Unit must be
"Pascals" For objects in the temperature namespace, Unit must be
"DegreesC". For objects in the utilization namespace, Unit must be
- "Percent" For objects in the voltage namespace, Unit must be "Volts".
+ "Percent" For objects in the voltage namespace, Unit must be "Volts",
+ For objects in the liquidflow namespace, Unit must be "LPM".
enumerations:
- name: Unit
@@ -66,6 +68,9 @@
- name: Joules
description: >
Energy transfer as Joules.
+ - name: LPM
+ description: >
+ To calculate the liquid flow in Liters Per Minute.
- name: Meters
description: >
Length as meters.
@@ -121,6 +126,8 @@
value: fan_tach
- name: Humidity
value: humidity
+ - name: Liquidflow
+ value: liquidflow
- name: Power
value: power
- name: Pressure