xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/lm87.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun*LM87 hwmon sensor.
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be
5*4882a593Smuzhiyun	"ti,lm87"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun- reg: I2C address
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunoptional properties:
10*4882a593Smuzhiyun- has-temp3: This configures pins 18 and 19 to be used as a second
11*4882a593Smuzhiyun             remote temperature sensing channel. By default the pins
12*4882a593Smuzhiyun             are configured as voltage input pins in0 and in5.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun- has-in6: When set, pin 5 is configured to be used as voltage input
15*4882a593Smuzhiyun           in6. Otherwise the pin is set as FAN1 input.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- has-in7: When set, pin 6 is configured to be used as voltage input
18*4882a593Smuzhiyun           in7. Otherwise the pin is set as FAN2 input.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- vcc-supply: a Phandle for the regulator supplying power, can be
21*4882a593Smuzhiyun              cofigured to measure 5.0V power supply. Default is 3.3V.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunlm87@2e {
26*4882a593Smuzhiyun	compatible = "ti,lm87";
27*4882a593Smuzhiyun	reg = <0x2e>;
28*4882a593Smuzhiyun	has-temp3;
29*4882a593Smuzhiyun	vcc-supply = <&reg_5v0>;
30*4882a593Smuzhiyun};
31