meta-zaius: phosphor-ipmi-sensor-inventory: add fan pwm
Adds the four fans pwm control defined by the pwm-tacho-controller phosphor-hwmon
configuration.
Change-Id: I2db906d392d6a55c0c01b5d426f2d57c2aef9499
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 b8f1291..223f19b 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
@@ -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
+