Path: blob/main/sys/contrib/device-tree/Bindings/iio/imu/st_lsm6dsx.txt
48523 views
* ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors12Required properties:3- compatible: must be one of:4"st,lsm6ds3"5"st,lsm6ds3h"6"st,lsm6dsl"7"st,lsm6dsm"8"st,ism330dlc"9"st,lsm6dso"10"st,asm330lhh"11"st,lsm6dsox"12"st,lsm6dsr"13"st,lsm6ds3tr-c"14"st,ism330dhcx"15"st,lsm9ds1-imu"16"st,lsm6ds0"17"st,lsm6dsrx"18- reg: i2c address of the sensor / spi cs line1920Optional properties:21- st,drdy-int-pin: the pin on the package that will be used to signal22"data ready" (valid values: 1 or 2).23- st,pullups : enable/disable internal i2c controller pullup resistors.24- drive-open-drain: the interrupt/data ready line will be configured25as open drain, which is useful if several sensors share the same26interrupt line. This is a boolean property.27(This binding is taken from pinctrl/pinctrl-bindings.txt)28If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or29IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line30when it is not active, whereas a pull-up one is needed when interrupt31line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.32- interrupts: interrupt mapping for IRQ. It should be configured with33flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or34IRQ_TYPE_EDGE_FALLING.35- wakeup-source: Enables wake up of host system on event.3637Refer to interrupt-controller/interrupts.txt for generic interrupt38client node bindings.3940Example:4142lsm6dsm@6b {43compatible = "st,lsm6dsm";44reg = <0x6b>;45interrupt-parent = <&gpio0>;46interrupts = <0 IRQ_TYPE_EDGE_RISING>;47};484950