GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / hwmon / lm90.txt
1 * LM90 series thermometer.
2
3 Required node properties:
4 - compatible: manufacturer and chip name, one of
5                 "adi,adm1032"
6                 "adi,adt7461"
7                 "adi,adt7461a"
8                 "gmt,g781"
9                 "national,lm90"
10                 "national,lm86"
11                 "national,lm89"
12                 "national,lm99"
13                 "dallas,max6646"
14                 "dallas,max6647"
15                 "dallas,max6649"
16                 "dallas,max6657"
17                 "dallas,max6658"
18                 "dallas,max6659"
19                 "dallas,max6680"
20                 "dallas,max6681"
21                 "dallas,max6695"
22                 "dallas,max6696"
23                 "onnn,nct1008"
24                 "winbond,w83l771"
25                 "nxp,sa56004"
26
27 - reg: I2C bus address of the device
28
29 - vcc-supply: vcc regulator for the supply voltage.
30
31 Optional properties:
32 - interrupts: Contains a single interrupt specifier which describes the
33               LM90 "-ALERT" pin output.
34               See interrupt-controller/interrupts.txt for the format.
35
36 - #thermal-sensor-cells: should be set to 1. See thermal/thermal.txt for
37               details. See <include/dt-bindings/thermal/lm90.h> for the
38               definition of the local, remote and 2nd remote sensor index
39               constants.
40
41 Example LM90 node:
42
43 temp-sensor {
44         compatible = "onnn,nct1008";
45         reg = <0x4c>;
46         vcc-supply = <&palmas_ldo6_reg>;
47         interrupt-parent = <&gpio>;
48         interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
49         #thermal-sensor-cells = <1>;
50 }