summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj/recipes-phosphor
diff options
context:
space:
mode:
authorBenjamin Fair <benjaminfair@google.com>2019-04-17 08:52:25 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-23 01:55:26 +0300
commit0ba44b1176581413279f26bd8979134dbd671819 (patch)
tree1a9cd54bf6be05c028664da9b3d2b532224f8350 /meta-quanta/meta-gsj/recipes-phosphor
parentff7efedb6edad989e0b9e06381c9d75c0dd5d041 (diff)
downloadopenbmc-0ba44b1176581413279f26bd8979134dbd671819.tar.xz
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 <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor')
-rwxr-xr-xmeta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml27
1 files changed, 26 insertions, 1 deletions
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