File Index
Files and directories
Sign in
FILE

adi,adis16460.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/iio/imu/adi,adis16460.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Analog Devices ADIS16460 and similar IMUs
 8
 9maintainers:
10  - Dragos Bogdan <dragos.bogdan@analog.com>
11
12description: |
13  Analog Devices ADIS16460 and similar IMUs
14  https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf
15
16properties:
17  compatible:
18    enum:
19      - adi,adis16460
20
21  reg:
22    maxItems: 1
23
24  spi-cpha: true
25
26  spi-cpol: true
27
28  spi-cs-inactive-delay-ns:
29    minimum: 16000
30    default: 16000
31
32  interrupts:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - interrupts
39
40allOf:
41  - $ref: /schemas/spi/spi-peripheral-props.yaml#
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/interrupt-controller/irq.h>
48    spi {
49        #address-cells = <1>;
50        #size-cells = <0>;
51
52        imu@0 {
53            compatible = "adi,adis16460";
54            reg = <0>;
55            spi-max-frequency = <5000000>;
56            spi-cpol;
57            spi-cpha;
58            interrupt-parent = <&gpio0>;
59            interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
60        };
61    };
~/ Read-only file preview.