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.
36 - const: st,asm330lhhx
49 Supports up to 2 interrupt lines via the INT1 and INT2 pins.
52 description: if defined provides VDD power to the sensor.
55 description: if defined provides VDD IO power to the sensor.
58 $ref: '/schemas/types.yaml#/definitions/uint32'
60 The pin on the package that will be used to signal data ready
67 description: enable/disable internal i2c controller pullup resistors.
69 st,disable-sensor-hub:
72 Enable/disable internal i2c controller slave autoprobing at bootstrap.
73 Disable sensor-hub is useful if i2c controller clock/data lines are
74 connected through a pull-up with other chip lines (e.g. SDO/SA0).
79 The interrupt/data ready line will be configured as open drain, which
80 is useful if several sensors share the same interrupt line.
83 $ref: /schemas/types.yaml#/definitions/flag
90 - $ref: /schemas/spi/spi-peripheral-props.yaml#
92 unevaluatedProperties: false
96 #include <dt-bindings/interrupt-controller/irq.h>
102 compatible = "st,lsm6dsm";
104 interrupt-parent = <&gpio0>;
105 interrupts = <0 IRQ_TYPE_EDGE_RISING>;