Bosch smi240 imu

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

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

Maintainers (maintainers): "Jianping Shen <Jianping.Shen@de.bosch.com>"

Inertial Measurement Unit with Accelerometer and Gyroscope with a measurement range of +/-300°/s and up to 16g. https://www.bosch-semiconductors.com/mems-sensors/highly-automated-driving/smi240/

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "bosch,smi240"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

true — No constraints added by this property rule.

vddio-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd-supply", "vddio-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) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    imu@0 {
        compatible = "bosch,smi240";
        reg = <0>;
        vdd-supply = <&vdd>;
        vddio-supply = <&vddio>;
        spi-max-frequency = <10000000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page