diff options
Diffstat (limited to 'zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml')
-rw-r--r-- | zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml b/zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml new file mode 100644 index 0000000000..b8b1d2551d --- /dev/null +++ b/zephyr/dts/bindings/emul/zephyr,bmi-emul.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-emul" + +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. |