Bosch BMA400 triaxial acceleration sensor

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

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

Maintainers (maintainers): "Dan Robertson <dan@dlrobertson.com>"

Acceleration and temperature iio sensors with an i2c interface

Specifications about the sensor can be found at:
  https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMA400-DS000.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "bosch,bma400"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

phandle to the regulator that provides power to the accelerometer

vddio-supply — not listed as required here #

phandle to the regulator that provides power to the sensor's IO

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  accelerometer@14 {
    compatible = "bosch,bma400";
    reg = <0x14>;
    vdd-supply = <&vdd>;
    vddio-supply = <&vddio>;
    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-only OR BSD-2-Clause)

Edit this page