commit | 20f990fae4bfd8a64998aeafff827946ad317aaa | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Thu Aug 01 10:14:21 2019 +0800 |
committer | Andrew Geissler <geissonator@yahoo.com> | Fri Aug 02 07:15:36 2019 -0500 |
tree | f8273f79af4bbb4b02b928d486c2b9f92475382c | |
parent | 91347f3b2f226fa27a67445ce11da7ca5d45d83d [diff] |
fp5280g2: phosphor-hwmon: Add power supply sensors configs Tested: Build fp5280g2 board and load on the target hardware successfully and manually verified via DBUS interface (From meta-inspur rev: cb39b871faa21244a3d1bb55f8d153ba87bfd3a6) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3adb14da90f72bdbac0cefcf64ff1b8a274dd916 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@58.conf b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@58.conf new file mode 100644 index 0000000..362b4b0 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@58.conf
@@ -0,0 +1,4 @@ +LABEL_in1 = "psu0_vin" +LABEL_in2 = "psu0_vout" +LABEL_power1 = "psu0_pin" +LABEL_power2 = "psu0_pout"
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@59.conf b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@59.conf new file mode 100644 index 0000000..8ffe441 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@59.conf
@@ -0,0 +1,4 @@ +LABEL_in1 = "psu1_vin" +LABEL_in2 = "psu1_vout" +LABEL_power1 = "psu1_pin" +LABEL_power2 = "psu1_pout"
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index ed2bf19..2dd9ee5 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
@@ -8,6 +8,8 @@ bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@0/tmp112@4a \ bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@1/tmp112@4a \ bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@2/tmp112@4a \ + bus@1e78a000/i2c-bus@400/power-supply@58 \ + bus@1e78a000/i2c-bus@400/power-supply@59 \ pwm-tacho-controller@1e786000 \ " ITEMSFMT = "ahb/apb/{0}.conf"