Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/imu/bosch,smi240.yaml
26309 views
1
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/imu/bosch,smi240.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Bosch smi240 imu
8
9
maintainers:
10
- Jianping Shen <Jianping.Shen@de.bosch.com>
11
12
description:
13
Inertial Measurement Unit with Accelerometer and Gyroscope
14
with a measurement range of +/-300°/s and up to 16g.
15
https://www.bosch-semiconductors.com/mems-sensors/highly-automated-driving/smi240/
16
17
properties:
18
compatible:
19
const: bosch,smi240
20
21
reg:
22
maxItems: 1
23
24
vdd-supply: true
25
vddio-supply: true
26
27
required:
28
- compatible
29
- reg
30
- vdd-supply
31
- vddio-supply
32
33
allOf:
34
- $ref: /schemas/spi/spi-peripheral-props.yaml#
35
36
unevaluatedProperties: false
37
38
examples:
39
- |
40
spi {
41
#address-cells = <1>;
42
#size-cells = <0>;
43
44
imu@0 {
45
compatible = "bosch,smi240";
46
reg = <0>;
47
vdd-supply = <&vdd>;
48
vddio-supply = <&vddio>;
49
spi-max-frequency = <10000000>;
50
};
51
};
52
53