summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-24 10:46:02 -0400
committerGitHub <noreply@github.com>2020-06-24 10:46:02 -0400
commitb1cab32c66d19d453b89fcec6f4211367e45827a (patch)
tree845ebf91d038c080a076f46eb8e38061603ad29f /app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml
parent23931aa4fede2d81437a01e5d69329157219c2a5 (diff)
parenta6a364725d8af94c2479939f6559584721a8ebd1 (diff)
Merge pull request #40 from petejohanson/boards/clueboard-california-macropad
Initial working Clueboard California Macropad w/ proton-c fixes
Diffstat (limited to 'app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml')
-rw-r--r--app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml b/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml
new file mode 100644
index 0000000..5ebcbdd
--- /dev/null
+++ b/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml
@@ -0,0 +1,25 @@
+# Copyright (c) 2020, Pete Johanson
+# SPDX-License-Identifier: MIT
+
+description: GPIO keyboard matrix controller
+
+compatible: "zmk,kscan-gpio-matrix"
+
+include: kscan.yaml
+
+properties:
+ row-gpios:
+ type: phandle-array
+ required: true
+ col-gpios:
+ type: phandle-array
+ required: true
+ debounce-period:
+ type: int
+ default: 5
+ diode-direction:
+ type: string
+ default: row2col
+ enum:
+ - row2col
+ - col2row