summaryrefslogtreecommitdiffstats
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%/config.yaml
blob: c5be29c1ee37b9333d8c7e54b08b4682b186d27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- 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
        - fan0_1
  rpolicy:
    type: anyof

- 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
        - fan1_1
  rpolicy:
    type: anyof

- 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
        - fan2_1
  rpolicy:
    type: anyof

- 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
        - fan3_1
  rpolicy:
    type: anyof
OpenPOWER on IntegriCloud