The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/humidity/hts221.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 };

Cache object: e99f557136d875f52ee6f9a967e45a2e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.