diff options
author | Heiko Stuebner <heiko.stuebner@bq.com> | 2018-11-07 10:47:08 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-12-16 18:13:14 -0500 |
commit | 25bbdccfcd8c07c44feb74700f556546ef340f0f (patch) | |
tree | 73c7854a2ea4068e77963a765bcd3207bd7ada64 | |
parent | b6611bcd5144e61a9cc21ee55c74aff688dff3f0 (diff) |
dt-bindings: hwmon: tmp108: add optional interrupts and #thermal-sensor-cells
The tmp108 does have an alert output that can be used as interrupt source
and can of course also be used as part of a thermal sensor setup for things
like thermal-based cpu frequencies, so document the necessary properties.
Signed-off-by: Heiko Stuebner <heiko.stuebner@bq.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/tmp108.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/tmp108.txt b/Documentation/devicetree/bindings/hwmon/tmp108.txt index 8c4b10df86d9..54d4beed4ee5 100644 --- a/Documentation/devicetree/bindings/hwmon/tmp108.txt +++ b/Documentation/devicetree/bindings/hwmon/tmp108.txt | |||
@@ -7,6 +7,10 @@ Requires node properties: | |||
7 | - compatible : "ti,tmp108" | 7 | - compatible : "ti,tmp108" |
8 | - reg : the I2C address of the device. This is 0x48, 0x49, 0x4a, or 0x4b. | 8 | - reg : the I2C address of the device. This is 0x48, 0x49, 0x4a, or 0x4b. |
9 | 9 | ||
10 | Optional properties: | ||
11 | - interrupts: Reference to the TMP108 alert interrupt. | ||
12 | - #thermal-sensor-cells: should be set to 0. | ||
13 | |||
10 | Example: | 14 | Example: |
11 | tmp108@48 { | 15 | tmp108@48 { |
12 | compatible = "ti,tmp108"; | 16 | compatible = "ti,tmp108"; |