Path: blob/master/Documentation/devicetree/bindings/iio/accel/memsensing,msa311.yaml
26309 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/accel/memsensing,msa311.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: MEMSensing digital 3-Axis accelerometer78maintainers:9- Dmitry Rokosov <ddrokosov@sberdevices.ru>1011description: |12MSA311 is a tri-axial, low-g accelerometer with I2C digital output for13sensitivity consumer applications. It has dynamical user selectable full14scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements15with output data rates from 1Hz to 1000Hz.16Datasheet can be found at following URL17https://cdn-shop.adafruit.com/product-files/5309/MSA311-V1.1-ENG.pdf1819properties:20compatible:21const: memsensing,msa3112223reg:24maxItems: 12526interrupts:27maxItems: 12829vdd-supply: true3031required:32- compatible33- reg3435additionalProperties: false3637examples:38- |39#include <dt-bindings/interrupt-controller/irq.h>40i2c {41#address-cells = <1>;42#size-cells = <0>;4344accelerometer@62 {45compatible = "memsensing,msa311";46reg = <0x62>;47interrupt-parent = <&gpio_intc>;48interrupts = <29 IRQ_TYPE_EDGE_RISING>;49vdd-supply = <&vcc_5v>;50};51};525354