meta-ibm: Modify power sensor channel
Currently power sensor might get the wrong channel.
We have to modify it to the correct channel.
Tested:
Check sensot list user can see the correct power sensor.
(From meta-ibm rev: aaceadff166052bef63b860063ccbda66d918629)
Change-Id: I2595c727915b8e72af4f56e5383efb183e9b3638
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf
index 94eeff7..d6d2416 100644
--- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf
@@ -38,6 +38,23 @@
MODE_temp38 = "label"
MODE_temp39 = "label"
MODE_temp40 = "label"
+
+MODE_power1 = "label"
+MODE_power2 = "label"
+MODE_power3 = "label"
+MODE_power4 = "label"
+MODE_power5 = "label"
+MODE_power6 = "label"
+MODE_power7 = "label"
+MODE_power8 = "label"
+MODE_power9 = "label"
+MODE_power10 = "label"
+MODE_power11 = "label"
+MODE_power12 = "label"
+MODE_power13 = "label"
+MODE_power14 = "label"
+MODE_power15 = "label"
+
LABEL_temp17 = "p0_core0_temp"
WARNHI_temp17 = "85000"
WARNLO_temp17 = "0"
@@ -278,13 +295,13 @@
CRITHI_temp211 = "95000"
CRITLO_temp211 = "0"
-LABEL_power2 = "io_b_power"
-LABEL_power3 = "io_a_power"
-LABEL_power4 = "p1_mem_power"
-LABEL_power5 = "p1_vdd_power"
-LABEL_power6 = "p0_mem_power"
-LABEL_power7 = "p0_vdd_power"
-LABEL_power8 = "fans_power"
-LABEL_power9 = "storage_b_power"
-LABEL_power10 = "storage_a_power"
-LABEL_power15 = "total_power"
+LABEL_power0_14_2 = "io_b_power"
+LABEL_power0_13_3 = "io_a_power"
+LABEL_power0_2_4 = "p1_mem_power"
+LABEL_power0_6_5 = "p1_vdd_power"
+LABEL_power0_1_6 = "p0_mem_power"
+LABEL_power0_5_7 = "p0_vdd_power"
+LABEL_power0_16_8 = "fans_power"
+LABEL_power0_19_9 = "storage_b_power"
+LABEL_power0_18_10 = "storage_a_power"
+LABEL_powersystem = "total_power"