From 775975496da2c0fcb0d6e5de19577c4daa019859 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Fri, 23 Jul 2021 11:39:44 +0300 Subject: meta-ethanolx: Support SB-TSI sensors Populate SB-TSI CPU sensors to the system. This change make SB-TSI CPU sensors accessible over DBus, IPMI, Redfish and webui-vue. The entity-manager configuration make use of "PowerState: On" parameter as SB-TSI sensors are active only with a powered on CPU. Signed-off-by: Konstantin Aladyshev Change-Id: I80390bb0baa291e7a9d5b49b2e9542cef719da69 --- .../entity-manager/ethanolx-baseboard.json | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager') diff --git a/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-baseboard.json b/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-baseboard.json index cea3d0602..2ae0ff8d5 100644 --- a/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-baseboard.json +++ b/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-baseboard.json @@ -295,6 +295,72 @@ } ], "Type": "LM75A" + }, + { + "Address": "0x4C", + "Bus": 0, + "Name": "CPU0", + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 75 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 70 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "SBTSI" + }, + { + "Address": "0x48", + "Bus": 1, + "Name": "CPU1", + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 75 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 70 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "SBTSI" } ], "Name": "AMD EthanolX Baseboard", -- cgit v1.2.3