summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/zephyr/dts')
-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