diff options
| author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-19 17:20:43 +0000 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-03 21:06:01 -0500 |
| commit | 8d9ae1fdf379020d4743b4f85f465e88b148ac29 (patch) | |
| tree | 07cb741277cc5a85a66c280f258d551690c120e7 /app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml | |
| parent | 177b28f01de88ece582604c0ef0abaaaefe2f624 (diff) | |
refactor: Align drivers with Zephyr file system conventions
PR: #400
Diffstat (limited to 'app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml')
| -rw-r--r-- | app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml b/app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml new file mode 100644 index 0000000..5cbe77a --- /dev/null +++ b/app/drivers/zephyr/dts/bindings/sensor/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 |
