Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim MAX6650 and MAX6651 I2C Fan Controllers
8
9maintainers:
10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
11
12description: |
13 The MAX6650 and MAX6651 regulate and monitor the speed
14 of 5VDC/12VDC burshless fans with built-in tachometers.
15
16 Datasheets:
17 https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
18
19properties:
20 compatible:
21 enum:
22 - maxim,max6650
23 - maxim,max6651
24
25 reg:
26 maxItems: 1
27
28 maxim,fan-microvolt:
29 description:
30 The supply voltage of the fan, either 5000000 uV or
31 12000000 uV.
32 enum: [5000000, 12000000]
33
34 maxim,fan-prescale:
35 description:
36 Pre-scaling value, as per datasheet. Lower values
37 allow more fine-grained control of slower fans.
38 $ref: /schemas/types.yaml#/definitions/uint32
39 enum: [1, 2, 4, 8, 16]
40
41 maxim,fan-target-rpm:
42 description:
43 Initial requested fan rotation speed. If specified, the
44 driver selects closed-loop mode and the requested speed.
45 This ensures the fan is already running before userspace
46 takes over.
47 $ref: /schemas/types.yaml#/definitions/uint32
48 maximum: 30000
49
50required:
51 - compatible
52 - reg
53
54additionalProperties: false
55
56examples:
57 - |
58 i2c {
59 #address-cells = <1>;
60 #size-cells = <0>;
61
62 fan-controller@1b {
63 compatible = "maxim,max6650";
64 reg = <0x1b>;
65 maxim,fan-microvolt = <12000000>;
66 maxim,fan-prescale = <4>;
67 maxim,fan-target-rpm = <1200>;
68 };
69 };