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