meta-zaius: phosphor-ipmi-sensor-inventory: add fan_tach
Adds the four fans defined by the pwm-tacho-controller phosphor-hwmon
configuration.
(From meta-ingrasys rev: cd448cc7fdd605fc89fb5407b7da1bf322fb8b54)
Change-Id: Ie57a510cc19f0819d21d4f4703c1964ce28e76de
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 4fd637b..b8f1291 100644
--- a/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -176,3 +176,31 @@
assert: true
deassert: false
type: bool
+
+0xB0: &fan_tach
+ sensorType: 0x04
+ path: /xyz/openbmc_project/sensors/fan_tach/fan0
+ sensorReadingType: 0x01
+ multiplierM: 100
+ offsetB: 0
+ bExp: 0
+ unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
+ scale: 0
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: readingData
+ interfaces:
+ xyz.openbmc_project.Sensor.Value:
+ Value:
+ Offsets:
+ 0xFF:
+ type: int64_t
+0xB1:
+ <<: *fan_tach
+ path: /xyz/openbmc_project/sensors/fan_tach/fan1
+0xB2:
+ <<: *fan_tach
+ path: /xyz/openbmc_project/sensors/fan_tach/fan2
+0xB3:
+ <<: *fan_tach
+ path: /xyz/openbmc_project/sensors/fan_tach/fan3
+