Commit 25bbdccf authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Guenter Roeck
Browse files

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: default avatarHeiko Stuebner <heiko.stuebner@bq.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b6611bcd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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";