dt-bindings: iio: humidity: hts221: support active-low interrupts
[platform/kernel/linux-rpi.git] / Documentation / devicetree / bindings / iio / humidity / hts221.txt
1 * HTS221 STM humidity + temperature sensor
2
3 Required properties:
4 - compatible: should be "st,hts221"
5 - reg: i2c address of the sensor / spi cs line
6
7 Optional properties:
8 - interrupt-parent: should be the phandle for the interrupt controller
9 - interrupts: interrupt mapping for IRQ. It should be configured with
10   flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
11   IRQ_TYPE_EDGE_FALLING.
12
13   Refer to interrupt-controller/interrupts.txt for generic interrupt
14   client node bindings.
15
16 Example:
17
18 hts221@5f {
19         compatible = "st,hts221";
20         reg = <0x5f>;
21         interrupt-parent = <&gpio0>;
22         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
23 };