93 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,max6639.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Maxim max66399 10maintainers:11 - Naresh Solanki <naresh.solanki@9elements.com>12 13description: |14 The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM15 fan-speed controller. It monitors its own temperature and one external16 diode-connected transistor or the temperatures of two external diode-connected17 transistors, typically available in CPUs, FPGAs, or GPUs.18 19 Datasheets:20 https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf21 22properties:23 compatible:24 enum:25 - maxim,max663926 27 reg:28 maxItems: 129 30 '#address-cells':31 const: 132 33 '#size-cells':34 const: 035 36 '#pwm-cells':37 const: 338 39required:40 - compatible41 - reg42 43patternProperties:44 "^fan@[0-1]$":45 type: object46 description:47 Represents the two fans and their specific configuration.48 49 $ref: fan-common.yaml#50 51 unevaluatedProperties: false52 53 properties:54 reg:55 description:56 The fan number.57 58 required:59 - reg60 61additionalProperties: false62 63examples:64 - |65 i2c {66 #address-cells = <1>;67 #size-cells = <0>;68 69 fan1: fan-controller@10 {70 compatible = "maxim,max6639";71 reg = <0x10>;72 #address-cells = <1>;73 #size-cells = <0>;74 #pwm-cells = <3>;75 76 fan@0 {77 reg = <0x0>;78 pulses-per-revolution = <2>;79 max-rpm = <4000>;80 target-rpm = <1000>;81 pwms = <&fan1 0 25000 0>;82 };83 84 fan@1 {85 reg = <0x1>;86 pulses-per-revolution = <2>;87 max-rpm = <8000>;88 pwms = <&fan1 1 25000 0>;89 };90 };91 };92...93