Analog Devices ADIS16460 and similar IMUs

Schema identifier ($id): "http://devicetree.org/schemas/iio/imu/adi,adis16460.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dragos Bogdan <dragos.bogdan@analog.com>"

Analog Devices ADIS16460 and similar IMUs https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,adis16460"

reg — required here #

Maximum number of items (maxItems): 1

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-cpol — not listed as required here #

true — No constraints added by this property rule.

spi-cs-inactive-delay-ns — not listed as required here #

Minimum value (minimum): 16000

Default value (default): 16000

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    imu@0 {
        compatible = "adi,adis16460";
        reg = <0>;
        spi-max-frequency = <5000000>;
        spi-cpol;
        spi-cpha;
        interrupt-parent = <&gpio0>;
        interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page