xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/max6650.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBindings for MAX6651 and MAX6650 I2C fan controllers
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunReference:
4*4882a593Smuzhiyun[1]	https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible : One of "maxim,max6650" or "maxim,max6651"
8*4882a593Smuzhiyun- reg        : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional properties, default is to retain the chip's current setting:
11*4882a593Smuzhiyun- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or
12*4882a593Smuzhiyun			12000000 uV.
13*4882a593Smuzhiyun- maxim,fan-prescale  : Pre-scaling value, as per datasheet [1]. Lower values
14*4882a593Smuzhiyun			allow more fine-grained control of slower fans.
15*4882a593Smuzhiyun			Valid: 1, 2, 4, 8, 16.
16*4882a593Smuzhiyun- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
17*4882a593Smuzhiyun			driver selects closed-loop mode and the requested speed.
18*4882a593Smuzhiyun			This ensures the fan is already running before userspace
19*4882a593Smuzhiyun			takes over.
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunExample:
22*4882a593Smuzhiyun	fan-max6650: max6650@1b {
23*4882a593Smuzhiyun		reg = <0x1b>;
24*4882a593Smuzhiyun		compatible = "maxim,max6650";
25*4882a593Smuzhiyun		maxim,fan-microvolt = <12000000>;
26*4882a593Smuzhiyun		maxim,fan-prescale = <4>;
27*4882a593Smuzhiyun		maxim,fan-target-rpm = <1200>;
28*4882a593Smuzhiyun	};
29