diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2021-01-08 20:58:33 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2021-01-12 16:52:55 +0300 |
commit | 2e74157dae6a195b69589232e6ad532775e0cb70 (patch) | |
tree | 8c6db133a328d325dec612813b1c4f680e653fb6 /meta-ibm | |
parent | f309314224ff34552d3af22fbee852657a8d62e3 (diff) | |
download | openbmc-2e74157dae6a195b69589232e6ad532775e0cb70.tar.xz |
rainier: Re-add fan presence gpios on Everest
Corrected the gpio pins and paths for detecting fans wired to a PCA9552
behind a mux according to the Everest schematics. Fan presence will fail
to access these gpios until the Everest dts is updated to expose them.
(From meta-ibm rev: 072949a9b84112572559baa76d12b9a7c77f8547)
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I9456ff8bd4298f3414f41180732e8e17b738acfa
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r-- | meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/rainier/everest/config.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/rainier/everest/config.json b/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/rainier/everest/config.json index a9f1061fd..439aedcac 100644 --- a/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/rainier/everest/config.json +++ b/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/rainier/everest/config.json @@ -4,6 +4,12 @@ "path": "/system/chassis/motherboard/fan0", "methods": [ { + "type": "gpio", + "key": 15, + "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061", + "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" + }, + { "type": "tach", "sensors": [ "fan0_0", @@ -20,6 +26,12 @@ "path": "/system/chassis/motherboard/fan1", "methods": [ { + "type": "gpio", + "key": 14, + "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061", + "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" + }, + { "type": "tach", "sensors": [ "fan1_0", @@ -36,6 +48,12 @@ "path": "/system/chassis/motherboard/fan2", "methods": [ { + "type": "gpio", + "key": 13, + "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061", + "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" + }, + { "type": "tach", "sensors": [ "fan2_0", @@ -52,6 +70,12 @@ "path": "/system/chassis/motherboard/fan3", "methods": [ { + "type": "gpio", + "key": 12, + "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061", + "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" + }, + { "type": "tach", "sensors": [ "fan3_0", |