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