summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts/bindings/alps,ec11.yaml
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-07-21 13:24:44 -0400
committerPete Johanson <peter@peterjohanson.com>2020-07-21 13:24:44 -0400
commitaa7c74fe075526c73cac8ae1e7df826f762fedc5 (patch)
tree89d878aba7d325fafccdf955f506aef880123d29 /app/drivers/zephyr/dts/bindings/alps,ec11.yaml
parent7da9a1039f453d549318737d85603a7a8c87b1d9 (diff)
Filename fix for EN11 -> EC11.
Diffstat (limited to 'app/drivers/zephyr/dts/bindings/alps,ec11.yaml')
-rw-r--r--app/drivers/zephyr/dts/bindings/alps,ec11.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/drivers/zephyr/dts/bindings/alps,ec11.yaml b/app/drivers/zephyr/dts/bindings/alps,ec11.yaml
new file mode 100644
index 0000000..5cbe77a
--- /dev/null
+++ b/app/drivers/zephyr/dts/bindings/alps,ec11.yaml
@@ -0,0 +1,21 @@
+description: |
+ Sensor driver for the Alps EC11 rotary encoder
+
+compatible: "alps,ec11"
+
+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
+ resolution:
+ type: int
+ description: Number of pulses per tick
+ required: false