18c2ecf20Sopenharmony_ciBindings for MAX6651 and MAX6650 I2C fan controllers 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciReference: 48c2ecf20Sopenharmony_ci[1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci- compatible : One of "maxim,max6650" or "maxim,max6651" 88c2ecf20Sopenharmony_ci- reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciOptional properties, default is to retain the chip's current setting: 118c2ecf20Sopenharmony_ci- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or 128c2ecf20Sopenharmony_ci 12000000 uV. 138c2ecf20Sopenharmony_ci- maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values 148c2ecf20Sopenharmony_ci allow more fine-grained control of slower fans. 158c2ecf20Sopenharmony_ci Valid: 1, 2, 4, 8, 16. 168c2ecf20Sopenharmony_ci- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 178c2ecf20Sopenharmony_ci driver selects closed-loop mode and the requested speed. 188c2ecf20Sopenharmony_ci This ensures the fan is already running before userspace 198c2ecf20Sopenharmony_ci takes over. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExample: 228c2ecf20Sopenharmony_ci fan-max6650: max6650@1b { 238c2ecf20Sopenharmony_ci reg = <0x1b>; 248c2ecf20Sopenharmony_ci compatible = "maxim,max6650"; 258c2ecf20Sopenharmony_ci maxim,fan-microvolt = <12000000>; 268c2ecf20Sopenharmony_ci maxim,fan-prescale = <4>; 278c2ecf20Sopenharmony_ci maxim,fan-target-rpm = <1200>; 288c2ecf20Sopenharmony_ci }; 29