Mike Looijmans | 88de8e1 | 2016-08-22 08:44:32 +0200 | [diff] [blame] | 1 | Bindings for MAX6651 and MAX6650 I2C fan controllers |
| 2 | |
| 3 | Reference: |
| 4 | [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible : One of "maxim,max6650" or "maxim,max6651" |
| 8 | - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. |
| 9 | |
| 10 | Optional properties, default is to retain the chip's current setting: |
| 11 | - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or |
| 12 | 12000000 uV. |
| 13 | - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values |
| 14 | allow more fine-grained control of slower fans. |
| 15 | Valid: 1, 2, 4, 8, 16. |
Mike Looijmans | f9f8b33 | 2016-08-24 10:13:27 +0200 | [diff] [blame] | 16 | - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the |
| 17 | driver selects closed-loop mode and the requested speed. |
| 18 | This ensures the fan is already running before userspace |
| 19 | takes over. |
Mike Looijmans | 88de8e1 | 2016-08-22 08:44:32 +0200 | [diff] [blame] | 20 | |
| 21 | Example: |
| 22 | fan-max6650: max6650@1b { |
| 23 | reg = <0x1b>; |
| 24 | compatible = "maxim,max6650"; |
| 25 | maxim,fan-microvolt = <12000000>; |
| 26 | maxim,fan-prescale = <4>; |
Mike Looijmans | f9f8b33 | 2016-08-24 10:13:27 +0200 | [diff] [blame] | 27 | maxim,fan-target-rpm = <1200>; |
Mike Looijmans | 88de8e1 | 2016-08-22 08:44:32 +0200 | [diff] [blame] | 28 | }; |