summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/cros-ec,motionsense-mutex.yaml
blob: c988af258de900acc445ff8ccf40b2986e4f86de (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
# Copyright (c) 2021 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0

description: Motion sense mutex parent node

compatible: "cros-ec,motionsense-mutex"

child-binding:
  description: A mutex node is used to create an instance of mutex_t.
               A mutex node is referenced by one or more sensor nodes in
               "/motionsense-sensors" node.
  properties:
    label:
      required: true
      type: string
      description: Human readable string describing the mutex.
                   This is a brief explanation about the mutex.
                   The property is not actually used in code.


#
# examples:
#
# motionsense-mutex {
#         compatible = "cros-ec,motionsense-mutex";
#         mutex_bma255: bma255-mutex {
#                 label = "BMA255_MUTEX";
#         };
#
#         mutex_bmi260: bmi260-mutex {
#                 label = "BMI260_MUTEX";
#         };
# };
#