Sensors: Add Frequency namespace
This patch adds the frequency namespace.
Change-Id: Id8d1d8ec2e410561785b31f9e1b378a1b18ab6d4
Signed-off-by: Aditya Kurdunkar <akurdunkar@nvidia.com>
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
index 81e1c88..d2f57bb 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
@@ -8,6 +8,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
index 2006a9e..438473a 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
@@ -9,6 +9,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
index 47c49b4..ebfc30a 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml
@@ -8,6 +8,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
index b3635d9..1479c5c 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml
@@ -8,6 +8,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
diff --git a/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
index efe63cc..6203d9f 100644
--- a/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
@@ -8,6 +8,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
diff --git a/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml b/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
index 17d4621..323b372 100644
--- a/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
+++ b/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml
@@ -7,6 +7,7 @@
current
energy
fan_tach
+ frequency
humidity
liquidflow
power
@@ -51,7 +52,8 @@
"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",
- For objects in the liquidflow namespace, Unit must be "LPM".
+ For objects in the liquidflow namespace, Unit must be "LPM". For
+ objects in the frequency namespace, Unit must be "Hertz".
enumerations:
- name: Unit
@@ -67,6 +69,9 @@
- name: DegreesC
description: >
Temperature as degrees Celsius.
+ - name: Hertz
+ description: >
+ Frequency in Hertz
- name: Joules
description: >
Energy transfer as Joules.
@@ -126,6 +131,8 @@
value: energy
- name: FanTach
value: fan_tach
+ - name: Frequency
+ value: frequency
- name: Humidity
value: humidity
- name: Liquidflow