Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | *LM87 hwmon sensor. |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be |
| 5 | "ti,lm87" |
| 6 | |
| 7 | - reg: I2C address |
| 8 | |
| 9 | optional properties: |
| 10 | - has-temp3: This configures pins 18 and 19 to be used as a second |
| 11 | remote temperature sensing channel. By default the pins |
| 12 | are configured as voltage input pins in0 and in5. |
| 13 | |
| 14 | - has-in6: When set, pin 5 is configured to be used as voltage input |
| 15 | in6. Otherwise the pin is set as FAN1 input. |
| 16 | |
| 17 | - has-in7: When set, pin 6 is configured to be used as voltage input |
| 18 | in7. Otherwise the pin is set as FAN2 input. |
| 19 | |
| 20 | - vcc-supply: a Phandle for the regulator supplying power, can be |
| 21 | configured to measure 5.0V power supply. Default is 3.3V. |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | lm87@2e { |
| 26 | compatible = "ti,lm87"; |
| 27 | reg = <0x2e>; |
| 28 | has-temp3; |
| 29 | vcc-supply = <®_5v0>; |
| 30 | }; |