Skip to content

Commit 27ae7f9

Browse files
Demon000jic23
authored andcommitted
dt-bindings: iio: accel: add ADXL367
The ADXL367 is an ultralow power, 3-axis MEMS accelerometer. The ADXL367 does not alias input signals to achieve ultralow power consumption, it samples the full bandwidth of the sensor at all data rates. Measurement ranges of +-2g, +-4g, and +-8g are available, with a resolution of 0.25mg/LSB on the +-2 g range. In addition to its ultralow power consumption, the ADXL367 has many features to enable true system level power reduction. It includes a deep multimode output FIFO, a built-in micropower temperature sensor, and an internal ADC for synchronous conversion of an additional analog input. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220214073810.781016-5-cosmin.tanislav@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 06a4a0c commit 27ae7f9

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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+
7+
title: Analog Devices ADXL367 3-Axis Digital Accelerometer
8+
9+
maintainers:
10+
- Cosmin Tanislav <cosmin.tanislav@analog.com>
11+
12+
description: |
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+
27+
properties:
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+
43+
required:
44+
- compatible
45+
- reg
46+
- interrupts
47+
48+
additionalProperties: false
49+
50+
examples:
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+
};

0 commit comments

Comments
 (0)