diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-17 22:43:19 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-19 22:11:17 -0400 |
commit | 893b99d907b85109c8cf8b00f381f36939f5ae3c (patch) | |
tree | 0c2997894375eeddc4c6409ffa43587a736acf45 /app/drivers/zephyr/dts | |
parent | f6110a632d0ddbc0a9ebd7bfd4997366f95facfd (diff) |
Initial en11 exploration.
Diffstat (limited to 'app/drivers/zephyr/dts')
-rw-r--r-- | app/drivers/zephyr/dts/bindings/alps,en11.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/drivers/zephyr/dts/bindings/alps,en11.yaml b/app/drivers/zephyr/dts/bindings/alps,en11.yaml new file mode 100644 index 0000000..1d1de3a --- /dev/null +++ b/app/drivers/zephyr/dts/bindings/alps,en11.yaml @@ -0,0 +1,17 @@ +description: | + Sensor driver for the Alps en11 rotary encoder + +compatible: "alps,en11" + +properties: + label: + type: string + required: true + a-gpios: + type: phandle-array + required: true + description: A pin for the encoder + b-gpios: + type: phandle-array + required: true + description: A pin for the encoder |