blob: 439aedcac54e1f1b9ab8b8c638bfb478604a2e68 [file] [log] [blame]
Matthew Barth18a8d4e2020-11-23 17:18:44 -06001[
2 {
3 "name": "fan0",
4 "path": "/system/chassis/motherboard/fan0",
5 "methods": [
6 {
Matthew Barth2e741572021-01-08 11:58:33 -06007 "type": "gpio",
8 "key": 15,
9 "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061",
10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
11 },
12 {
Matthew Barth18a8d4e2020-11-23 17:18:44 -060013 "type": "tach",
14 "sensors": [
15 "fan0_0",
16 "fan0_1"
17 ]
18 }
19 ],
20 "rpolicy": {
21 "type": "anyof"
22 }
23 },
24 {
25 "name": "fan1",
26 "path": "/system/chassis/motherboard/fan1",
27 "methods": [
28 {
Matthew Barth2e741572021-01-08 11:58:33 -060029 "type": "gpio",
30 "key": 14,
31 "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061",
32 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
33 },
34 {
Matthew Barth18a8d4e2020-11-23 17:18:44 -060035 "type": "tach",
36 "sensors": [
37 "fan1_0",
38 "fan1_1"
39 ]
40 }
41 ],
42 "rpolicy": {
43 "type": "anyof"
44 }
45 },
46 {
47 "name": "fan2",
48 "path": "/system/chassis/motherboard/fan2",
49 "methods": [
50 {
Matthew Barth2e741572021-01-08 11:58:33 -060051 "type": "gpio",
52 "key": 13,
53 "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061",
54 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
55 },
56 {
Matthew Barth18a8d4e2020-11-23 17:18:44 -060057 "type": "tach",
58 "sensors": [
59 "fan2_0",
60 "fan2_1"
61 ]
62 }
63 ],
64 "rpolicy": {
65 "type": "anyof"
66 }
67 },
68 {
69 "name": "fan3",
70 "path": "/system/chassis/motherboard/fan3",
71 "methods": [
72 {
Matthew Barth2e741572021-01-08 11:58:33 -060073 "type": "gpio",
74 "key": 12,
75 "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-30/30-0061",
76 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
77 },
78 {
Matthew Barth18a8d4e2020-11-23 17:18:44 -060079 "type": "tach",
80 "sensors": [
81 "fan3_0",
82 "fan3_1"
83 ]
84 }
85 ],
86 "rpolicy": {
87 "type": "anyof"
88 }
89 }
90]