summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/cbi/cros-ec,cbi-fw-config-value.yaml
blob: 6c45ffbf0bdeccfdaf2cb3a6dcf59d6e89a2eadb (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
# 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:
    Possible CBI FW_CONFIG individual field values.
    It has to be defined as a grandchild on the "cros-ec,cbi-fw-config" nodes

compatible: "cros-ec,cbi-fw-config-value"

properties:
    enum-name:
        type: string
        required: true
        description:
            Name of the value used for description purposes
    value:
        type: int
        required: true
        description:
          Unique value within the parent CBI FW_CONFIG field
    default:
        type: boolean
        description:
          If set, this value will be the default value of this field
          if the FW_CONFIG data is invalid or unavailable. It must
          appear only once for any single field.