WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / imu / adi,adis16460.yaml
blob340be256f2831db73334b08c4a667c27984e8f5b
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#
7 title: Analog Devices ADIS16460 and similar IMUs
9 maintainers:
10   - Dragos Bogdan <dragos.bogdan@analog.com>
12 description: |
13   Analog Devices ADIS16460 and similar IMUs
14   https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf
16 properties:
17   compatible:
18     enum:
19       - adi,adis16460
21   reg:
22     maxItems: 1
24   spi-cpha: true
26   spi-cpol: true
28   spi-max-frequency: true
30   interrupts:
31     maxItems: 1
33 required:
34   - compatible
35   - reg
36   - interrupts
38 additionalProperties: false
40 examples:
41   - |
42     #include <dt-bindings/gpio/gpio.h>
43     #include <dt-bindings/interrupt-controller/irq.h>
44     spi0 {
45         #address-cells = <1>;
46         #size-cells = <0>;
48         imu@0 {
49             compatible = "adi,adis16460";
50             reg = <0>;
51             spi-max-frequency = <5000000>;
52             spi-cpol;
53             spi-cpha;
54             interrupt-parent = <&gpio0>;
55             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
56         };
57     };