Merge tag 'for-linus-5.0-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.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                 "ti,tmp451"
27
28 - reg: I2C bus address of the device
29
30 - vcc-supply: vcc regulator for the supply voltage.
31
32 Optional properties:
33 - interrupts: Contains a single interrupt specifier which describes the
34               LM90 "-ALERT" pin output.
35               See interrupt-controller/interrupts.txt for the format.
36
37 - #thermal-sensor-cells: should be set to 1. See thermal/thermal.txt for
38               details. See <include/dt-bindings/thermal/lm90.h> for the
39               definition of the local, remote and 2nd remote sensor index
40               constants.
41
42 Example LM90 node:
43
44 temp-sensor {
45         compatible = "onnn,nct1008";
46         reg = <0x4c>;
47         vcc-supply = <&palmas_ldo6_reg>;
48         interrupt-parent = <&gpio>;
49         interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
50         #thermal-sensor-cells = <1>;
51 }