From 462ddb0696625d8364234d18776f3ab42203b703 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Mon, 24 Sep 2018 08:52:19 -0700 Subject: 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 Signed-off-by: Brad Bishop --- .../phosphor-ipmi-sensor-inventory%/config.yaml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'meta-ingrasys/meta-zaius/recipes-phosphor') 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 4fd637b62..b8f12917a 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 + -- cgit v1.2.3