Skip to content

Commit

Permalink
dt-bindings: iio: accel: bma400: add bindings
Browse files Browse the repository at this point in the history
Add devicetree binding for the Bosch BMA400 3-axes ultra-low power
accelerometer sensor.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
  • Loading branch information
dlrobertson authored and intel-lab-lkp committed Oct 13, 2019
1 parent a521d52 commit aa7e9e2
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions Documentation/devicetree/bindings/iio/accel/bma400.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/accel/bma400.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Bosch BMA400 triaxial acceleration sensor

maintainers:
- Dan Robertson <dan@dlrobertson.com>

description: |
Acceleration and temerature 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:
compatible:
enum:
- bosch,bma400

reg:
maxItems: 1

required:
- compatible
- reg

examples:
- |
i2c0 {
#address-cells = <1>;
#size-cells = <1>;
bma400@14 {
compatible = "bosch,bma400";
reg = <0x14>;
};
};

0 comments on commit aa7e9e2

Please sign in to comment.