Analog Devices ADIS16550 and similar IMUs

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

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

Maintainers (maintainers): "Nuno Sa <nuno.sa@analog.com>", "Ramona Gradinariu <ramona.gradinariu@analog.com>", "Antoniu Miclaus <antoniu.miclaus@analog.com>", "Robert Budai <robert.budai@analog.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,adis16550"

reg — required here #

Maximum number of items (maxItems): 1

spi-cpha — required here #

true — No constraints added by this property rule.

spi-cpol — required here #

true — No constraints added by this property rule.

spi-max-frequency — required here #

Maximum value (maximum): 15000000

vdd-supply — required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Active low RESET pin.

Maximum number of items (maxItems): 1

clocks — not listed as required here #

If not provided, then the internal clock is used.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "spi-cpha", "spi-cpol", "spi-max-frequency", "vdd-supply"

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,adis16550";
        reg = <0>;
        spi-max-frequency = <15000000>;
        spi-cpol;
        spi-cpha;
        vdd-supply = <&vdd>;
        interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
        interrupt-parent = <&gpio>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page