cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

adi,adis16460.yaml (1131B)


      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-max-frequency: true
     29
     30  interrupts:
     31    maxItems: 1
     32
     33required:
     34  - compatible
     35  - reg
     36  - interrupts
     37
     38additionalProperties: false
     39
     40examples:
     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>;
     47
     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    };