summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/fan/cros-ec,fans.yaml
blob: 9aa6317f61fe46d93b2469aa232d018329d7fb69 (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
56
57
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: Fan parent node

compatible: "cros-ec,fans"

child-binding:
  description: Fan's child node
  properties:
    rpm_min:
      required: true
      type: int
      description:
        Minimum fan speed (in RPM) to keep turning
    rpm_start:
      required: true
      type: int
      description:
        Fan speed (in RPM) to begin turning
    rpm_max:
      required: true
      type: int
      description:
        Maximum fan speed (in RPM)
    pwms:
      type: phandle-array
      required: true
      description:
        PWM channel to control the fan
    tach:
      type: phandle
      required: false
      description:
        Tachometer to measure the fan speed
    not_use_rpm_mode:
      required: false
      type: boolean
      description:
        Disable automatic RPM control using tachometer input
    use_fast_start:
      required: false
      type: boolean
      description:
        Fan requires a higher duty cycle to start up than to keep
        running
    pgood_gpio:
      required: false
      type: phandle
      description:
        Active high input GPIO which signals the power is good
    enable_gpio:
      required: false
      type: phandle
      description:
        Active high output GPIO to enable the power