1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/imu/st,lsm6dsx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STM 6-axis (acc + gyro) IMU Mems sensors
10 - Lorenzo Bianconi <lorenzo@kernel.org>
13 Devices have both I2C and SPI interfaces.
46 - const: st,lsm6dsv16x
50 - const: st,lsm6dso16is
62 Supports up to 2 interrupt lines via the INT1 and INT2 pins.
65 description: if defined provides VDD power to the sensor.
68 description: if defined provides VDD IO power to the sensor.
71 $ref: /schemas/types.yaml#/definitions/uint32
73 The pin on the package that will be used to signal data ready
80 description: enable/disable internal i2c controller pullup resistors.
82 st,disable-sensor-hub:
85 Enable/disable internal i2c controller slave autoprobing at bootstrap.
86 Disable sensor-hub is useful if i2c controller clock/data lines are
87 connected through a pull-up with other chip lines (e.g. SDO/SA0).
92 The interrupt/data ready line will be configured as open drain, which
93 is useful if several sensors share the same interrupt line.
96 $ref: /schemas/types.yaml#/definitions/flag
99 description: an optional 3x3 mounting rotation matrix
106 - $ref: /schemas/iio/iio.yaml#
107 - $ref: /schemas/spi/spi-peripheral-props.yaml#
109 unevaluatedProperties: false
113 #include <dt-bindings/interrupt-controller/irq.h>
115 #address-cells = <1>;
119 compatible = "st,lsm6dsm";
121 interrupt-parent = <&gpio0>;
122 interrupts = <0 IRQ_TYPE_EDGE_RISING>;