meta-zaius: phosphor-ipmi-sensor-inventory: add fan_tach
Adds the four fans defined by the pwm-tacho-controller phosphor-hwmon
configuration.
Change-Id: Ibc7ced2c36856e6079352ee88d64b194bfdd9d93
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 4fd637b..b8f1291 100644
--- a/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/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
+