diff options
author | Wei Ni <wni@nvidia.com> | 2013-11-15 04:40:39 -0500 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2013-11-15 04:40:39 -0500 |
commit | aae7bce48176d5ffa4ccd4dbdb861488db892837 (patch) | |
tree | ded2af5e7e067259720355e42754fca5ea6d114e | |
parent | 3e0f964f2ad38d2d4c2616fb8f12016cf6ea1758 (diff) |
Documentation: dt: hwmon: Add OF document for LM90
Add OF document for LM90 in Documentation/devicetree/.
[JD: Add this new file to the LM90 MAINTAINERS entry.]
Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/lm90.txt | 44 | ||||
-rw-r--r-- | MAINTAINERS | 1 |
2 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt new file mode 100644 index 000000000000..e8632486b9ef --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt | |||
@@ -0,0 +1,44 @@ | |||
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 | Example LM90 node: | ||
37 | |||
38 | temp-sensor { | ||
39 | compatible = "onnn,nct1008"; | ||
40 | reg = <0x4c>; | ||
41 | vcc-supply = <&palmas_ldo6_reg>; | ||
42 | interrupt-parent = <&gpio>; | ||
43 | interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>; | ||
44 | } | ||
diff --git a/MAINTAINERS b/MAINTAINERS index ffcaf975bed7..0da69578ccee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5175,6 +5175,7 @@ M: Jean Delvare <khali@linux-fr.org> | |||
5175 | L: lm-sensors@lm-sensors.org | 5175 | L: lm-sensors@lm-sensors.org |
5176 | S: Maintained | 5176 | S: Maintained |
5177 | F: Documentation/hwmon/lm90 | 5177 | F: Documentation/hwmon/lm90 |
5178 | F: Documentation/devicetree/bindings/hwmon/lm90.txt | ||
5178 | F: drivers/hwmon/lm90.c | 5179 | F: drivers/hwmon/lm90.c |
5179 | 5180 | ||
5180 | LM95234 HARDWARE MONITOR DRIVER | 5181 | LM95234 HARDWARE MONITOR DRIVER |