From feb5eb360d9663de9371fa2c424a25177234e26d Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Mon, 24 Sep 2018 09:54:45 -0700 Subject: meta-zaius: phosphor-ipmi-sensor-inventory: add fan pwm Adds the four fans pwm control defined by the pwm-tacho-controller phosphor-hwmon configuration. (From meta-ingrasys rev: 6d8a49a74563ef6fd9f741266621086e1fcb4d56) Change-Id: I004f56f3ebf186ca7316fe19c14fce3b591f4023 Signed-off-by: Patrick Venture Signed-off-by: Brad Bishop --- .../phosphor-ipmi-sensor-inventory%/config.yaml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 b8f12917a..223f19b0a 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 @@ -204,3 +204,29 @@ <<: *fan_tach path: /xyz/openbmc_project/sensors/fan_tach/fan3 +0xC4: &fanpwm + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/fan0 + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + mutability: Mutability::Write + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Control.FanPwm: + Target: + Offsets: + 0xFF: + type: uint64_t +0xC5: + <<: *fanpwm + path: /xyz/openbmc_project/sensors/fan_tach/fan1 +0xC6: + <<: *fanpwm + path: /xyz/openbmc_project/sensors/fan_tach/fan2 +0xC7: + <<: *fanpwm + path: /xyz/openbmc_project/sensors/fan_tach/fan3 + -- cgit v1.2.1