Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
29539 views
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,adis16240.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: ADIS16240 Programmable Impact Sensor and Recorder driver
8
9
maintainers:
10
- Marcelo Schmitt <marcelo.schmitt@analog.com>
11
- Nuno Sá <nuno.sa@analog.com>
12
13
description: |
14
ADIS16240 Programmable Impact Sensor and Recorder driver that supports
15
SPI interface.
16
https://www.analog.com/en/products/adis16240.html
17
18
properties:
19
compatible:
20
enum:
21
- adi,adis16240
22
23
reg:
24
maxItems: 1
25
26
interrupts:
27
maxItems: 1
28
29
required:
30
- compatible
31
- reg
32
- interrupts
33
34
allOf:
35
- $ref: /schemas/spi/spi-peripheral-props.yaml#
36
37
unevaluatedProperties: false
38
39
examples:
40
- |
41
#include <dt-bindings/interrupt-controller/irq.h>
42
spi {
43
#address-cells = <1>;
44
#size-cells = <0>;
45
46
/* Example for a SPI device node */
47
accelerometer@0 {
48
compatible = "adi,adis16240";
49
reg = <0>;
50
spi-max-frequency = <2500000>;
51
interrupt-parent = <&gpio0>;
52
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
53
};
54
};
55
56