Path: blob/main/sys/contrib/device-tree/Bindings/iio/humidity/hts221.txt
48525 views
* HTS221 STM humidity + temperature sensor12Required properties:3- compatible: should be "st,hts221"4- reg: i2c address of the sensor / spi cs line56Optional properties:7- drive-open-drain: the interrupt/data ready line will be configured8as open drain, which is useful if several sensors share the same9interrupt line. This is a boolean property.10If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or11IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line12when it is not active, whereas a pull-up one is needed when interrupt13line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.14Refer to pinctrl/pinctrl-bindings.txt for the property description.15- interrupts: interrupt mapping for IRQ. It should be configured with16flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or17IRQ_TYPE_EDGE_FALLING.1819Refer to interrupt-controller/interrupts.txt for generic interrupt20client node bindings.2122Example:2324hts221@5f {25compatible = "st,hts221";26reg = <0x5f>;27interrupt-parent = <&gpio0>;28interrupts = <0 IRQ_TYPE_EDGE_RISING>;29};303132