18c2ecf20Sopenharmony_ci* HTS221 STM humidity + temperature sensor
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: should be "st,hts221"
58c2ecf20Sopenharmony_ci- reg: i2c address of the sensor / spi cs line
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciOptional properties:
88c2ecf20Sopenharmony_ci- drive-open-drain: the interrupt/data ready line will be configured
98c2ecf20Sopenharmony_ci  as open drain, which is useful if several sensors share the same
108c2ecf20Sopenharmony_ci  interrupt line. This is a boolean property.
118c2ecf20Sopenharmony_ci  If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or
128c2ecf20Sopenharmony_ci  IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
138c2ecf20Sopenharmony_ci  when it is not active, whereas a pull-up one is needed when interrupt
148c2ecf20Sopenharmony_ci  line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.
158c2ecf20Sopenharmony_ci  Refer to pinctrl/pinctrl-bindings.txt for the property description.
168c2ecf20Sopenharmony_ci- interrupts: interrupt mapping for IRQ. It should be configured with
178c2ecf20Sopenharmony_ci  flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
188c2ecf20Sopenharmony_ci  IRQ_TYPE_EDGE_FALLING.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci  Refer to interrupt-controller/interrupts.txt for generic interrupt
218c2ecf20Sopenharmony_ci  client node bindings.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_cihts221@5f {
268c2ecf20Sopenharmony_ci	compatible = "st,hts221";
278c2ecf20Sopenharmony_ci	reg = <0x5f>;
288c2ecf20Sopenharmony_ci	interrupt-parent = <&gpio0>;
298c2ecf20Sopenharmony_ci	interrupts = <0 IRQ_TYPE_EDGE_RISING>;
308c2ecf20Sopenharmony_ci};
31