1# Copyright (c) 2022 Analog Devices Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4include: sensor-device.yaml
5
6properties:
7  odr:
8    type: int
9    default: 0
10    description: |
11          Accelerometer sampling frequency (ODR). Default is power on reset value.
12            0 # 400Hz
13            1 # 800Hz
14            2 # 1600Hz
15            3 # 3200Hz
16            4 # 6400Hz
17    enum:
18      - 0
19      - 1
20      - 2
21      - 3
22      - 4
23
24  bw:
25    type: int
26    default: 12
27    description: |
28          Low-Pass (Antialiasing) Filter corner frequency. Default is power on reset value.
29            0 # 200Hz
30            1 # 400Hz
31            2 # 800Hz
32            3 # 1600Hz
33            4 # 3200Hz
34            12 # Disabled
35    enum:
36      - 0
37      - 1
38      - 2
39      - 3
40      - 4
41      - 12
42
43  hpf:
44    type: int
45    default: 4
46    description: |
47          High-Pass Filter corner frequency. Default is power on reset value.
48            0 # ODR/210
49            1 # ODR/411
50            2 # ODR/812
51            3 # ODR/1616
52            4 # Disabled
53    enum:
54      - 0
55      - 1
56      - 2
57      - 3
58      - 4
59
60  int1-gpios:
61    type: phandle-array
62    description: |
63      The INT1 signal defaults to active high as produced by the
64      sensor.  The property value should ensure the flags properly
65      describe the signal that is presented to the driver.
66