diff options
author | Patrick Venture <venture@google.com> | 2018-09-24 18:52:19 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-25 14:48:05 +0300 |
commit | 462ddb0696625d8364234d18776f3ab42203b703 (patch) | |
tree | 97c363b1f35a10689cc9d3cffed3a072e9013e84 /meta-ingrasys/meta-zaius | |
parent | 128028122c05339dbbce1ef9ded2cbf18ff2849c (diff) | |
download | openbmc-462ddb0696625d8364234d18776f3ab42203b703.tar.xz |
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>
Diffstat (limited to 'meta-ingrasys/meta-zaius')
-rw-r--r-- | meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
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 4fd637b62b..b8f12917a7 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 + |