diff options
author | George Liu <liuxiwei@inspur.com> | 2019-08-05 13:30:53 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-08-12 14:43:36 +0300 |
commit | 4c36238257a58827053382a1b04597f068ede36b (patch) | |
tree | d63a32fb761e6c8895f8a26db430f88601deed1a /meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor | |
parent | f1a7c1c8067eb4621b99532caecf46275ceb4431 (diff) | |
download | openbmc-4c36238257a58827053382a1b04597f068ede36b.tar.xz |
fp5280g2: Add recipe file for phosphor-gpio-monitor
Add the power supply monitor application and configuration files
Tested: Built phosphor-gpio-monitor and ran successfully on the fp5280g2
via dbus interfaces.
(From meta-inspur rev: ea9932d3b56af3ff9a12689731bd8081b66af856)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I5e365d7a979834f093b2a1b978ce22624be5bd8a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor')
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf b/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf new file mode 100644 index 000000000..f97d8398f --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf @@ -0,0 +1,6 @@ +INVENTORY=/system/chassis/motherboard/powersupply0 +DEVPATH=/dev/input/by-path/platform-gpio-keys-event +KEY=40 +NAME=powersupply0 +DRIVERS=/sys/bus/i2c/drivers/pmbus,11-0058 +EXTRA_IFACES=xyz.openbmc_project.Inventory.Item.PowerSupply diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf b/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf new file mode 100644 index 000000000..78c665834 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf @@ -0,0 +1,6 @@ +INVENTORY=/system/chassis/motherboard/powersupply1 +DEVPATH=/dev/input/by-path/platform-gpio-keys-event +KEY=41 +NAME=powersupply1 +DRIVERS=/sys/bus/i2c/drivers/pmbus,11-0059 +EXTRA_IFACES=xyz.openbmc_project.Inventory.Item.PowerSupply |