Merge tag 'amd-drm-fixes-5.11-2020-12-23' of git://people.freedesktop.org/~agd5f...
[linux-2.6-microblaze.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 - drive-open-drain: the interrupt/data ready line will be configured
9   as open drain, which is useful if several sensors share the same
10   interrupt line. This is a boolean property.
11   If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or
12   IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
13   when it is not active, whereas a pull-up one is needed when interrupt
14   line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.
15   Refer to pinctrl/pinctrl-bindings.txt for the property description.
16 - interrupts: interrupt mapping for IRQ. It should be configured with
17   flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
18   IRQ_TYPE_EDGE_FALLING.
19
20   Refer to interrupt-controller/interrupts.txt for generic interrupt
21   client node bindings.
22
23 Example:
24
25 hts221@5f {
26         compatible = "st,hts221";
27         reg = <0x5f>;
28         interrupt-parent = <&gpio0>;
29         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
30 };