summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-07-20 20:54:58 -0400
committerPete Johanson <peter@peterjohanson.com>2020-07-20 20:54:58 -0400
commit109c69cbab0a417c97b20788b0fd3bcd720178f1 (patch)
treecf784baf61b03bf48cc9f021cd069debd9554e00 /app/drivers/zephyr/dts
parent331bfa70521112759a4b553356a90eee8747644d (diff)
EN11 is actually EC11, some sample work.
Diffstat (limited to 'app/drivers/zephyr/dts')
-rw-r--r--app/drivers/zephyr/dts/bindings/alps,en11.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/drivers/zephyr/dts/bindings/alps,en11.yaml b/app/drivers/zephyr/dts/bindings/alps,en11.yaml
index 1d1de3a..5cbe77a 100644
--- a/app/drivers/zephyr/dts/bindings/alps,en11.yaml
+++ b/app/drivers/zephyr/dts/bindings/alps,en11.yaml
@@ -1,7 +1,7 @@
description: |
- Sensor driver for the Alps en11 rotary encoder
+ Sensor driver for the Alps EC11 rotary encoder
-compatible: "alps,en11"
+compatible: "alps,ec11"
properties:
label:
@@ -15,3 +15,7 @@ properties:
type: phandle-array
required: true
description: A pin for the encoder
+ resolution:
+ type: int
+ description: Number of pulses per tick
+ required: false