diff options
Diffstat (limited to 'zephyr/dts/bindings/gpio/cros-ec,gpio-id.yaml')
-rw-r--r-- | zephyr/dts/bindings/gpio/cros-ec,gpio-id.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/gpio/cros-ec,gpio-id.yaml b/zephyr/dts/bindings/gpio/cros-ec,gpio-id.yaml new file mode 100644 index 0000000000..689171c1d4 --- /dev/null +++ b/zephyr/dts/bindings/gpio/cros-ec,gpio-id.yaml @@ -0,0 +1,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 + |