0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/accel/adi,adxl367.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices ADXL367 3-Axis Digital Accelerometer
0008
0009 maintainers:
0010 - Cosmin Tanislav <cosmin.tanislav@analog.com>
0011
0012 description: |
0013 The ADXL367 is an ultralow power, 3-axis MEMS accelerometer.
0014
0015 The ADXL367 does not alias input signals by to achieve ultralow power
0016 consumption, it samples the full bandwidth of the sensor at all
0017 data rates. Measurement ranges of +-2g, +-4g, and +-8g are available,
0018 with a resolution of 0.25mg/LSB on the +-2 g range.
0019
0020 In addition to its ultralow power consumption, the ADXL367
0021 has many features to enable true system level power reduction.
0022 It includes a deep multimode output FIFO, a built-in micropower
0023 temperature sensor, and an internal ADC for synchronous conversion
0024 of an additional analog input.
0025 https://www.analog.com/en/products/adxl367.html
0026
0027 properties:
0028 compatible:
0029 enum:
0030 - adi,adxl367
0031
0032 reg:
0033 maxItems: 1
0034
0035 interrupts:
0036 maxItems: 1
0037
0038 spi-max-frequency: true
0039
0040 vdd-supply: true
0041 vddio-supply: true
0042
0043 required:
0044 - compatible
0045 - reg
0046 - interrupts
0047
0048 additionalProperties: false
0049
0050 examples:
0051 - |
0052 #include <dt-bindings/interrupt-controller/irq.h>
0053
0054 i2c {
0055 #address-cells = <1>;
0056 #size-cells = <0>;
0057
0058 accelerometer@53 {
0059 compatible = "adi,adxl367";
0060 reg = <0x53>;
0061 interrupt-parent = <&gpio>;
0062 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
0063 };
0064 };
0065 - |
0066 #include <dt-bindings/interrupt-controller/irq.h>
0067
0068 spi {
0069 #address-cells = <1>;
0070 #size-cells = <0>;
0071
0072 accelerometer@0 {
0073 compatible = "adi,adxl367";
0074 reg = <0>;
0075 spi-max-frequency = <1000000>;
0076 interrupt-parent = <&gpio>;
0077 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
0078 };
0079 };