summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml')
-rw-r--r--app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml b/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml
new file mode 100644
index 0000000..a2d8d24
--- /dev/null
+++ b/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2020, The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+description: GPIO keyboard demux controller
+
+compatible: "zmk,kscan-gpio-demux"
+
+include: kscan.yaml
+
+properties:
+ input-gpios:
+ type: phandle-array
+ required: true
+ output-gpios:
+ type: phandle-array
+ required: true
+ debounce-period:
+ type: int
+ default: 5
+ polling-interval-msec:
+ type: int
+ default: 25