From 0ba44b1176581413279f26bd8979134dbd671819 Mon Sep 17 00:00:00 2001 From: Benjamin Fair Date: Tue, 16 Apr 2019 22:52:25 -0700 Subject: meta-quanta: gsj: add IPMI PWM sensors Add a sensor for each fan PWM channel to the IPMI sensor map. (From meta-quanta rev: 9daae7df1f77542bce03096cd523febe97555402) Change-Id: I1e142ad3a1596a378e749aa326e6082b4cb84c21 Signed-off-by: Benjamin Fair Signed-off-by: Brad Bishop --- .../ipmi/gsj-ipmi-sensor-map/config.yaml | 27 +++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'meta-quanta/meta-gsj/recipes-phosphor') diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml index f99973d76..a34a6ebb9 100755 --- a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml @@ -365,6 +365,31 @@ 0xFF: type: int64_t +0xC0: &fan_pwm + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Control.FanPwm: + Target: + Offsets: + 0xFF: + type: uint64_t + +0xC1: + <<: *fan_pwm + path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM + +0xC2: + <<: *fan_pwm + path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM + 0x34: entityID: 0x07 entityInstance: 1 @@ -524,4 +549,4 @@ assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE 0x05: type: string - assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull \ No newline at end of file + assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull -- cgit v1.2.3