dt-bindings: hwmon: tmp108: add optional interrupts and #thermal-sensor-cells
authorHeiko Stuebner <heiko.stuebner@bq.com>
Wed, 7 Nov 2018 15:47:08 +0000 (16:47 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:14 +0000 (15:13 -0800)
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>
Documentation/devicetree/bindings/hwmon/tmp108.txt

index 8c4b10df86d9fe18918338e7f310a97602c73bea..54d4beed4ee5742d512c1a34240839081b425b81 100644 (file)
@@ -7,6 +7,10 @@ Requires node properties:
 - compatible : "ti,tmp108"
 - reg : the I2C address of the device. This is 0x48, 0x49, 0x4a, or 0x4b.
 
+Optional properties:
+- interrupts: Reference to the TMP108 alert interrupt.
+- #thermal-sensor-cells: should be set to 0.
+
 Example:
        tmp108@48 {
                compatible = "ti,tmp108";