From 8d9ae1fdf379020d4743b4f85f465e88b148ac29 Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Thu, 19 Nov 2020 17:20:43 +0000 Subject: refactor: Align drivers with Zephyr file system conventions PR: #400 --- .../zephyr/dts/bindings/sensor/alps,ec11.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml (limited to 'app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml') 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 -- cgit v1.2.3