summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/emul/zephyr,bmi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/emul/zephyr,bmi.yaml')
-rw-r--r--zephyr/dts/bindings/emul/zephyr,bmi.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/zephyr,bmi.yaml b/zephyr/dts/bindings/emul/zephyr,bmi.yaml
new file mode 100644
index 0000000000..6280d5cc39
--- /dev/null
+++ b/zephyr/dts/bindings/emul/zephyr,bmi.yaml
@@ -0,0 +1,42 @@
+# Copyright 2021 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description: Zephyr BMI Emulator
+
+compatible: "zephyr,bmi"
+
+include: base.yaml
+
+properties:
+ device-model:
+ type: string
+ required: true
+ enum:
+ - BMI_EMUL_160
+ - BMI_EMUL_260
+ description: Model of device that is emulated.
+
+ error-on-ro-write:
+ type: boolean
+ description:
+ Flag indicating if error should be generated when read only register
+ is being written.
+
+ error-on-wo-read:
+ type: boolean
+ description:
+ Flag indicating if error should be generated when write only register
+ is being read.
+
+ error-on-reserved-bit-write:
+ type: boolean
+ description:
+ Flag indicating if error should be generated when reserved bit
+ is being written.
+
+ simulate-command-exec-time:
+ type: boolean
+ description:
+ Flag indicating if emulator should wait the same amount of time before
+ finishing command as real device would.