diff options
Diffstat (limited to 'zephyr/dts')
4 files changed, 52 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/motionsense/driver/bmi260.yaml b/zephyr/dts/bindings/motionsense/driver/bmi260.yaml new file mode 100644 index 0000000000..1f9c16a2d9 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/driver/bmi260.yaml @@ -0,0 +1,16 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# common fields for both BMI260 accel and BMI260 gyro + +# every motionsense sensor node should include motionsense-sensor-base.yaml +include: motionsense-sensor-base.yaml + +properties: + i2c-spi-addr-flags: + type: string + required: true + description: i2c address or SPI slave logic GPIO + enum: + - "BMI260_ADDR0_FLAGS" diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml new file mode 100644 index 0000000000..09907d8711 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml @@ -0,0 +1,9 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: motion sense sensor node for BMI260 accel + +compatible: "cros-ec,bmi260-accel" + +include: bmi260.yaml diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml new file mode 100644 index 0000000000..67da0c4085 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml @@ -0,0 +1,9 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: motion sense sensor node for BMI260 gyro + +compatible: "cros-ec,bmi260-gyro" + +include: bmi260.yaml diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml new file mode 100644 index 0000000000..4d414121d1 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml @@ -0,0 +1,18 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: BMI260 driver data node + +compatible: "cros-ec,drvdata-bmi260" + +include: drvdata-base.yaml + +# +# examples: +# +# bmi260_data: bmi260-drv-data { +# compatible = "cros-ec,drvdata-bmi260"; +# status = "okay"; +# }; +# |