summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-09-05 09:09:47 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-12 16:39:28 +0000
commit082a2a3c7f546d188b949a47003b78aa12503d24 (patch)
tree4d083b56741fe805a6ac0f6b83af91fee9a057dd /meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio
parentc194219294ac479b5aa823295ea8a5d54b978448 (diff)
downloadtalos-openbmc-082a2a3c7f546d188b949a47003b78aa12503d24.tar.gz
talos-openbmc-082a2a3c7f546d188b949a47003b78aa12503d24.zip
Pass driver names to gpio-presence service
New code in phosphor-gpio-presence has the ability to bind and unbind device drivers around card adds and removes if necessary. This commit passes in this driver information for the power supplies. Resolves openbmc/openbmc#2205 Change-Id: I7190219d549dc65cbb5498896b511a80a897aa8d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf1
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf
index b5d14d44f..896679adf 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf
@@ -2,3 +2,4 @@ INVENTORY=/system/chassis/power_supply0
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
KEY=127
NAME=power_supply0
+DRIVERS=/sys/bus/i2c/drivers/ibm-cffps,3-0068
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf
index cac893b51..0f464956a 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf
@@ -2,3 +2,4 @@ INVENTORY=/system/chassis/power_supply1
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
KEY=104
NAME=power_supply1
+DRIVERS=/sys/bus/i2c/drivers/ibm-cffps,3-0069
OpenPOWER on IntegriCloud