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/imu/st_lsm6dsx.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 * ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors
    2 
    3 Required properties:
    4 - compatible: must be one of:
    5   "st,lsm6ds3"
    6   "st,lsm6ds3h"
    7   "st,lsm6dsl"
    8   "st,lsm6dsm"
    9   "st,ism330dlc"
   10   "st,lsm6dso"
   11   "st,asm330lhh"
   12   "st,lsm6dsox"
   13   "st,lsm6dsr"
   14   "st,lsm6ds3tr-c"
   15   "st,ism330dhcx"
   16   "st,lsm9ds1-imu"
   17   "st,lsm6ds0"
   18   "st,lsm6dsrx"
   19 - reg: i2c address of the sensor / spi cs line
   20 
   21 Optional properties:
   22 - st,drdy-int-pin: the pin on the package that will be used to signal
   23   "data ready" (valid values: 1 or 2).
   24 - st,pullups : enable/disable internal i2c controller pullup resistors.
   25 - drive-open-drain: the interrupt/data ready line will be configured
   26   as open drain, which is useful if several sensors share the same
   27   interrupt line. This is a boolean property.
   28   (This binding is taken from pinctrl/pinctrl-bindings.txt)
   29   If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or
   30   IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
   31   when it is not active, whereas a pull-up one is needed when interrupt
   32   line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.
   33 - interrupts: interrupt mapping for IRQ. It should be configured with
   34   flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
   35   IRQ_TYPE_EDGE_FALLING.
   36 - wakeup-source: Enables wake up of host system on event.
   37 
   38   Refer to interrupt-controller/interrupts.txt for generic interrupt
   39   client node bindings.
   40 
   41 Example:
   42 
   43 lsm6dsm@6b {
   44         compatible = "st,lsm6dsm";
   45         reg = <0x6b>;
   46         interrupt-parent = <&gpio0>;
   47         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
   48 };

Cache object: 987ab8fa11273ba566e437265d5f9e8d


[ 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.