Maxim MAX6650 and MAX6651 I2C Fan Controllers
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/maxim,max6650.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
The MAX6650 and MAX6651 regulate and monitor the speed of 5VDC/12VDC burshless fans with built-in tachometers.
Datasheets:
https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max6650", "maxim,max6651"
reg — required here #
Maximum number of items (maxItems): 1
maxim,fan-microvolt — not listed as required here #
The supply voltage of the fan, either 5000000 uV or 12000000 uV.
Allowed values (enum): 5000000, 12000000
maxim,fan-prescale — not listed as required here #
Pre-scaling value, as per datasheet. Lower values allow more fine-grained control of slower fans.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8, 16
maxim,fan-target-rpm — not listed as required here #
Initial requested fan rotation speed. If specified, the driver selects closed-loop mode and the requested speed. This ensures the fan is already running before userspace takes over.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 30000
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
fan-controller@1b {
compatible = "maxim,max6650";
reg = <0x1b>;
maxim,fan-microvolt = <12000000>;
maxim,fan-prescale = <4>;
maxim,fan-target-rpm = <1200>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)