brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · f10d98d Raw
81 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/accel/adi,adxl367.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices ADXL367 3-Axis Digital Accelerometer8 9maintainers:10  - Cosmin Tanislav <cosmin.tanislav@analog.com>11 12description: |13  The ADXL367 is an ultralow power, 3-axis MEMS accelerometer.14 15  The ADXL367 does not alias input signals by to achieve ultralow power16  consumption, it samples the full bandwidth of the sensor at all17  data rates. Measurement ranges of +-2g, +-4g, and +-8g are available,18  with a resolution of 0.25mg/LSB on the +-2 g range.19 20  In addition to its ultralow power consumption, the ADXL36721  has many features to enable true system level power reduction.22  It includes a deep multimode output FIFO, a built-in micropower23  temperature sensor, and an internal ADC for synchronous conversion24  of an additional analog input.25    https://www.analog.com/en/products/adxl367.html26 27properties:28  compatible:29    enum:30      - adi,adxl36731 32  reg:33    maxItems: 134 35  interrupts:36    maxItems: 137 38  vdd-supply: true39  vddio-supply: true40 41required:42  - compatible43  - reg44  - interrupts45 46allOf:47  - $ref: /schemas/spi/spi-peripheral-props.yaml#48 49unevaluatedProperties: false50 51examples:52  - |53    #include <dt-bindings/interrupt-controller/irq.h>54 55    i2c {56      #address-cells = <1>;57      #size-cells = <0>;58 59      accelerometer@53 {60        compatible = "adi,adxl367";61        reg = <0x53>;62        interrupt-parent = <&gpio>;63        interrupts = <25 IRQ_TYPE_EDGE_RISING>;64      };65    };66  - |67    #include <dt-bindings/interrupt-controller/irq.h>68 69    spi {70      #address-cells = <1>;71      #size-cells = <0>;72 73      accelerometer@0 {74        compatible = "adi,adxl367";75        reg = <0>;76        spi-max-frequency = <1000000>;77        interrupt-parent = <&gpio>;78        interrupts = <25 IRQ_TYPE_EDGE_RISING>;79      };80    };81