summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/emul/zephyr,bmi.yaml
blob: a754287bccc8bd4ddc5b68424a8afa6ef3458423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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: 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.