summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-07-25 23:52:18 -0400
committerPatrick Williams <patrick@stwcx.xyz>2017-08-09 14:30:08 +0000
commit169a8a36f92c484adc6f91fee3dbce624bba4c50 (patch)
treec3a1127da4137fd362d1c8b742eb52478022043b
parent4f83101c24c5829b8667e0341e892d60fe20945e (diff)
downloadtalos-openbmc-169a8a36f92c484adc6f91fee3dbce624bba4c50.tar.gz
talos-openbmc-169a8a36f92c484adc6f91fee3dbce624bba4c50.zip
witherspoon: enable gpio presence
Add witherspoon gpio presence support. Resolves: openbmc/openbmc#1318 Change-Id: Icace7a8ad444f13c0005411029d2438df40e6306 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml
index 142086905..c5be29c1e 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml
@@ -1,6 +1,10 @@
- name: fan0
path: /system/chassis/motherboard/fan0
methods:
+ - type: gpio
+ key: 4
+ physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060
+ devpath: /dev/input/by-path/platform-gpio-keys-polled-event
- type: tach
sensors:
- fan0_0
@@ -11,6 +15,10 @@
- name: fan1
path: /system/chassis/motherboard/fan1
methods:
+ - type: gpio
+ key: 5
+ physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060
+ devpath: /dev/input/by-path/platform-gpio-keys-polled-event
- type: tach
sensors:
- fan1_0
@@ -21,6 +29,10 @@
- name: fan2
path: /system/chassis/motherboard/fan2
methods:
+ - type: gpio
+ key: 6
+ physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060
+ devpath: /dev/input/by-path/platform-gpio-keys-polled-event
- type: tach
sensors:
- fan2_0
@@ -31,6 +43,10 @@
- name: fan3
path: /system/chassis/motherboard/fan3
methods:
+ - type: gpio
+ key: 7
+ physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060
+ devpath: /dev/input/by-path/platform-gpio-keys-polled-event
- type: tach
sensors:
- fan3_0
OpenPOWER on IntegriCloud