From 0f99c671e9321e1163fedc1915de4a573e62b30d Mon Sep 17 00:00:00 2001 From: George Hung Date: Tue, 27 Oct 2020 14:50:10 +0800 Subject: meta-quanta: gbs: fix pwr_u2_11_en name typo and add watchdog sensor 1. fix "pwr_u2_11_en" sensor name typo 2. add host watchdog sensor (From meta-quanta rev: e5859df7d6c1d29656648c775e24836826082b2b) Signed-off-by: George Hung Change-Id: I06eb7c1f4a9a92044c382ab1b5ea5149204e88d4 Signed-off-by: Andrew Geissler --- .../gbs-yaml-config/gbs-ipmi-sensors.yaml | 29 +++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml index 65212b6d4..929a566a2 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml +++ b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml @@ -1081,7 +1081,7 @@ 0xDB: <<: *nvme_pwren entityInstance: 0x5B - path: /xyz/openbmc_project/control/nvme/pwr_u2_10_en + path: /xyz/openbmc_project/control/nvme/pwr_u2_11_en 0xDC: <<: *nvme_pwren @@ -1225,3 +1225,30 @@ <<: *card_prsnt entityInstance: 1 path: /xyz/openbmc_project/inventory/system/chassis/entity/pe_slot1_prsnt + +0xFB: + entityID: 0x21 + entityInstance: 0 + interfaces: + xyz.openbmc_project.State.Watchdog: + ExpireAction: + Offsets: + 0x00: + assert: xyz.openbmc_project.State.Watchdog.Action.None + type: string + 0x01: + assert: xyz.openbmc_project.State.Watchdog.Action.HardReset + type: string + 0x02: + assert: xyz.openbmc_project.State.Watchdog.Action.PowerOff + type: string + 0x03: + assert: xyz.openbmc_project.State.Watchdog.Action.PowerCycle + type: string + mutability: Mutability::Write|Mutability::Read + path: /xyz/openbmc_project/watchdog/host0 + readingType: assertion + sensorNamePattern: nameLeaf + sensorReadingType: 0x6F + sensorType: 0x23 + serviceInterface: org.freedesktop.DBus.Properties -- cgit v1.2.3