Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: temperature: tmp006: document interrupt

TMP006 sensor has a DRDY (data ready) active-low interrupt which
indicates that a new measurement is ready to be read.

Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240908172153.177406-3-apokusinski01@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Antoni Pokusinski and committed by
Jonathan Cameron
8b1e800b 91f75ccf

+6
+6
Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml
··· 23 23 vdd-supply: 24 24 description: provide VDD power to the sensor. 25 25 26 + interrupts: 27 + maxItems: 1 28 + 26 29 required: 27 30 - compatible 28 31 - reg ··· 34 31 35 32 examples: 36 33 - | 34 + #include <dt-bindings/interrupt-controller/irq.h> 37 35 i2c { 38 36 #address-cells = <1>; 39 37 #size-cells = <0>; ··· 42 38 compatible = "ti,tmp006"; 43 39 reg = <0x40>; 44 40 vdd-supply = <&ldo4_reg>; 41 + interrupt-parent = <&gpio1>; 42 + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 45 43 }; 46 44 };