summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/zephyr')
-rw-r--r--app/drivers/zephyr/dts/bindings/gpio-kscan.yaml32
-rw-r--r--app/drivers/zephyr/kscan_gpio.c2
2 files changed, 17 insertions, 17 deletions
diff --git a/app/drivers/zephyr/dts/bindings/gpio-kscan.yaml b/app/drivers/zephyr/dts/bindings/gpio-kscan.yaml
index 0698c3e..748d3fa 100644
--- a/app/drivers/zephyr/dts/bindings/gpio-kscan.yaml
+++ b/app/drivers/zephyr/dts/bindings/gpio-kscan.yaml
@@ -1,5 +1,5 @@
# Copyright (c) 2020, Pete Johanson
-# SPDX-License-Identifier: Apache-2.0
+# SPDX-License-Identifier: MIT
description: GPIO keyboard matrix controller
@@ -8,18 +8,18 @@ compatible: "gpio-kscan"
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
+ 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
diff --git a/app/drivers/zephyr/kscan_gpio.c b/app/drivers/zephyr/kscan_gpio.c
index a53e2f9..76606d8 100644
--- a/app/drivers/zephyr/kscan_gpio.c
+++ b/app/drivers/zephyr/kscan_gpio.c
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
- * SPDX-License-Identifier: Apache-2.0
+ * SPDX-License-Identifier: MIT
*/
#define DT_DRV_COMPAT gpio_kscan