summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/configuration
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2020-10-23 21:13:45 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-10-29 04:20:21 +0300
commitb81ac417cde7a142a8ba7d4f400c4690b72acfce (patch)
tree8a3a4ad44a772496cd2f99cfbd1e81943130a771 /meta-ibm/recipes-phosphor/configuration
parenteb6859117a9fe12a6621dc4e6e062788b5f03308 (diff)
downloadopenbmc-b81ac417cde7a142a8ba7d4f400c4690b72acfce.tar.xz
Use correct type for Dbus sensor interface in IPMI sensors YAML files
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated from int to double. Therefore all old 'int64_t' types in "*-ipmi-sensor*.yaml" files for this interface should be changed to 'double'. (From meta-ibm rev: c769f790e14b9caa4fc842dc1e2035378de6ae60) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id8e164203541550eb19301ca429702cbf7d4b2f8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/configuration')
-rw-r--r--meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml10
-rw-r--r--meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/mihawk/acx22-ipmi-hwmon-sensors.yaml48
-rw-r--r--meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/acx22-ipmi-hwmon-sensors.yaml46
-rw-r--r--meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/acx22-ipmi-hwmon-sensors.yaml52
4 files changed, 78 insertions, 78 deletions
diff --git a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml
index 419b9c86f..a5d8d648e 100644
--- a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml
+++ b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml
@@ -68,7 +68,7 @@ cpucore_temp_sensor:
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
mutability: Mutability::Write|Mutability::Read
offsetB: -127
@@ -110,7 +110,7 @@ dimm_temp_sensor:
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
mutability: Mutability::Write|Mutability::Read
offsetB: -127
@@ -188,7 +188,7 @@ gpu_temp_sensor:
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
mutability: Mutability::Write|Mutability::Read
offsetB: -127
@@ -221,7 +221,7 @@ memory_temp_sensor:
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
mutability: Mutability::Write|Mutability::Read
offsetB: -127
@@ -327,7 +327,7 @@ vrm_vdd_temp_sensor:
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
mutability: Mutability::Write|Mutability::Read
offsetB: -127
diff --git a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/mihawk/acx22-ipmi-hwmon-sensors.yaml b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/mihawk/acx22-ipmi-hwmon-sensors.yaml
index 1cf747856..abfb83019 100644
--- a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/mihawk/acx22-ipmi-hwmon-sensors.yaml
+++ b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/mihawk/acx22-ipmi-hwmon-sensors.yaml
@@ -7,7 +7,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan0_0
@@ -28,7 +28,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan1_0
@@ -49,7 +49,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan2_0
@@ -70,7 +70,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan3_0
@@ -91,7 +91,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan4_0
@@ -112,7 +112,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan5_0
@@ -133,7 +133,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan0_1
@@ -154,7 +154,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan1_1
@@ -175,7 +175,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan2_1
@@ -196,7 +196,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan3_1
@@ -217,7 +217,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan4_1
@@ -238,7 +238,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan5_1
@@ -259,7 +259,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_vdd_power
@@ -280,7 +280,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_vdd_power
@@ -301,7 +301,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps0_input_power
@@ -322,7 +322,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps1_input_power
@@ -343,7 +343,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage
@@ -364,7 +364,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps1_output_voltage
@@ -385,7 +385,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps0_output_current
@@ -406,7 +406,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps1_output_current
@@ -427,7 +427,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/power/total_power
@@ -448,7 +448,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 30
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/p0_pcie_temp
@@ -469,7 +469,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 30
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/p1_pcie_temp
@@ -490,7 +490,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/ambient_temp
diff --git a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/acx22-ipmi-hwmon-sensors.yaml b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/acx22-ipmi-hwmon-sensors.yaml
index 38f38355a..13bd92bb3 100644
--- a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/acx22-ipmi-hwmon-sensors.yaml
+++ b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/acx22-ipmi-hwmon-sensors.yaml
@@ -7,7 +7,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan0_0
@@ -28,7 +28,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan1_0
@@ -49,7 +49,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan2_0
@@ -70,7 +70,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan3_0
@@ -91,7 +91,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/fan_disk_power
@@ -112,7 +112,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_io_power
@@ -133,7 +133,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_io_power
@@ -154,7 +154,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_mem_power
@@ -175,7 +175,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_mem_power
@@ -196,7 +196,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_power
@@ -217,7 +217,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_power
@@ -238,7 +238,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps0_input_power
@@ -259,7 +259,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps1_input_power
@@ -280,7 +280,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/power/total_power
@@ -301,7 +301,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps0_input_voltage
@@ -322,7 +322,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps1_input_voltage
@@ -343,7 +343,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage
@@ -364,7 +364,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps1_output_voltage
@@ -385,7 +385,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps0_output_current
@@ -406,7 +406,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps1_output_current
@@ -427,7 +427,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 30
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/pcie0_1
@@ -448,7 +448,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 30
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/pcie2_3
@@ -469,7 +469,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/ambient0
diff --git a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/acx22-ipmi-hwmon-sensors.yaml b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/acx22-ipmi-hwmon-sensors.yaml
index 803ed77ad..f22158b99 100644
--- a/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/acx22-ipmi-hwmon-sensors.yaml
+++ b/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/acx22-ipmi-hwmon-sensors.yaml
@@ -7,7 +7,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan0_0
@@ -28,7 +28,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan1_0
@@ -49,7 +49,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan2_0
@@ -70,7 +70,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan3_0
@@ -91,7 +91,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/fan_disk_power
@@ -112,7 +112,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_io_power
@@ -133,7 +133,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_io_power
@@ -154,7 +154,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_mem_power
@@ -175,7 +175,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_mem_power
@@ -196,7 +196,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p0_power
@@ -217,7 +217,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/power/p1_power
@@ -238,7 +238,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps0_input_power
@@ -259,7 +259,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/power/ps1_input_power
@@ -280,7 +280,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/power/total_power
@@ -301,7 +301,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps0_input_voltage
@@ -322,7 +322,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 2
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps1_input_voltage
@@ -343,7 +343,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage
@@ -364,7 +364,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 10
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/ps1_output_voltage
@@ -385,7 +385,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps0_output_current
@@ -406,7 +406,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 1
offsetB: 0
path: /xyz/openbmc_project/sensors/current/ps1_output_current
@@ -427,7 +427,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 30
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/pcie
@@ -448,7 +448,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 20
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/ambient
@@ -469,7 +469,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan0_1
@@ -490,7 +490,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan1_1
@@ -511,7 +511,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan2_1
@@ -532,7 +532,7 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 100
offsetB: 0
path: /xyz/openbmc_project/sensors/fan_tach/fan3_1