diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-21 14:38:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 14:38:32 -0400 |
commit | 54f1ddc1f5bbe19c0a669937d85c71153a859116 (patch) | |
tree | 20eeb2aacdebb7180d28ffb2c2da02191d7da1ed /app/drivers/zephyr/dts | |
parent | 22c0558b2f9561f2bebae4646eb41800c3fe0cc8 (diff) | |
parent | 3a508c42d0f408b42e58f119f4f0132a87203ad1 (diff) |
Merge pull request #59 from petejohanson/sensors/en11-encoder-sensor
Initial low level EC11 sensor driver
Diffstat (limited to 'app/drivers/zephyr/dts')
-rw-r--r-- | app/drivers/zephyr/dts/bindings/alps,ec11.yaml | 21 |
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 |