blob: 24322b3de8f519afa2765cb4f987f95f2a65986f (
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
|
description: Defines board version and sku id gpios
compatible: cros-ec,gpio-id
properties:
bits:
type: phandles
required: true
description: GPIO list to read, LSB to MSB
system:
type: string
description:
Numeral system used to decode values
- binary - expects array with values of 0 and 1.
- binary_first_base3 - non-standard ternary number system
where the first 2^n natural numbers are represented as
they would be in a binary system (without any Z digits)
and the following 3^n-2^n numbers use the remaining
ternary representations in the normal ternary system order
- ternary - expects array with values of 0, 1 and 2.
It treats 'Z' state as digit '2'.
enum:
- binary
- binary_first_base3
- ternary
|