commit | a4e94cd5b27d0e47451d542363d80f9b7c951b17 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Sep 05 09:09:47 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Sep 12 16:39:28 2017 +0000 |
tree | a8b8b4ac632c021e1a7771c016a3040a896bd5cb | |
parent | 0bebf853369674bd4b780170cb44f73be7a08704 [diff] |
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>
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf index b5d14d4..896679a 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-0.conf
@@ -2,3 +2,4 @@ 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-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf index cac893b..0f46495 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/phosphor-power-supply-1.conf
@@ -2,3 +2,4 @@ DEVPATH=/dev/input/by-path/platform-gpio-keys-event KEY=104 NAME=power_supply1 +DRIVERS=/sys/bus/i2c/drivers/ibm-cffps,3-0069