commit | cb39b871faa21244a3d1bb55f8d153ba87bfd3a6 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Thu Aug 01 10:14:21 2019 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Thu Aug 01 17:12:53 2019 +0800 |
tree | 39653d972d11b1ac16a6d0c563b724e93d2be490 | |
parent | e4ceaedefec1e9aee9ac5ca020377e9ff197329f [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 Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ibd6e4770678afe69ed452c7da32fcbe0f30d8911
diff --git a/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@58.conf b/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-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-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@59.conf b/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-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-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index ed2bf19..2dd9ee5 100644 --- a/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/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"