1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
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 Accelerometer
8
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 power
16  consumption, it samples the full bandwidth of the sensor at all
17  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 ADXL367
21  has many features to enable true system level power reduction.
22  It includes a deep multimode output FIFO, a built-in micropower
23  temperature sensor, and an internal ADC for synchronous conversion
24  of an additional analog input.
25    https://www.analog.com/en/products/adxl367.html
26
27properties:
28  compatible:
29    enum:
30      - adi,adxl367
31
32  reg:
33    maxItems: 1
34
35  interrupts:
36    maxItems: 1
37
38  spi-max-frequency: true
39
40  vdd-supply: true
41  vddio-supply: true
42
43required:
44  - compatible
45  - reg
46  - interrupts
47
48additionalProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/interrupt-controller/irq.h>
53
54    i2c {
55      #address-cells = <1>;
56      #size-cells = <0>;
57
58      accelerometer@53 {
59        compatible = "adi,adxl367";
60        reg = <0x53>;
61        interrupt-parent = <&gpio>;
62        interrupts = <25 IRQ_TYPE_EDGE_RISING>;
63      };
64    };
65  - |
66    #include <dt-bindings/interrupt-controller/irq.h>
67
68    spi {
69      #address-cells = <1>;
70      #size-cells = <0>;
71
72      accelerometer@0 {
73        compatible = "adi,adxl367";
74        reg = <0>;
75        spi-max-frequency = <1000000>;
76        interrupt-parent = <&gpio>;
77        interrupts = <25 IRQ_TYPE_EDGE_RISING>;
78      };
79    };
80