Path: blob/master/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/humidity/st,hts221.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: HTS221 STM humidity + temperature sensor78maintainers:9- Lorenzo Bianconi <lorenzo@kernel.org>1011description: |12Humidity and temperature sensor with I2C interface and data ready13interrupt.1415properties:16compatible:17const: st,hts2211819reg:20maxItems: 12122drive-open-drain:23type: boolean24description:25The interrupt/data ready line will be configured as open drain, which26is useful if several sensors share the same interrupt line.2728vdd-supply: true2930interrupts:31maxItems: 13233required:34- compatible35- reg3637additionalProperties: false3839examples:40- |41#include <dt-bindings/interrupt-controller/irq.h>42i2c {43#address-cells = <1>;44#size-cells = <0>;4546hts221@5f {47compatible = "st,hts221";48reg = <0x5f>;49interrupt-parent = <&gpio0>;50interrupts = <0 IRQ_TYPE_EDGE_RISING>;51};52};53...545556