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