forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: iio: accel: bma400: add bindings
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
1 parent
a521d52
commit aa7e9e2
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
}; | ||
}; |