brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 2c26104 Raw
71 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4 5$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Maxim MAX6650 and MAX6651 I2C Fan Controllers9 10maintainers:11  - Javier Carrasco <javier.carrasco.cruz@gmail.com>12 13description: |14  The MAX6650 and MAX6651 regulate and monitor the speed15  of 5VDC/12VDC burshless fans with built-in tachometers.16 17  Datasheets:18    https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf19 20properties:21  compatible:22    enum:23      - maxim,max665024      - maxim,max665125 26  reg:27    maxItems: 128 29  maxim,fan-microvolt:30    description:31      The supply voltage of the fan, either 5000000 uV or32      12000000 uV.33    enum: [5000000, 12000000]34 35  maxim,fan-prescale:36    description:37      Pre-scaling value, as per datasheet. Lower values38      allow more fine-grained control of slower fans.39    $ref: /schemas/types.yaml#/definitions/uint3240    enum: [1, 2, 4, 8, 16]41 42  maxim,fan-target-rpm:43    description:44      Initial requested fan rotation speed. If specified, the45      driver selects closed-loop mode and the requested speed.46      This ensures the fan is already running before userspace47      takes over.48    $ref: /schemas/types.yaml#/definitions/uint3249    maximum: 3000050 51required:52  - compatible53  - reg54 55additionalProperties: false56 57examples:58  - |59    i2c {60        #address-cells = <1>;61        #size-cells = <0>;62 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    };71