forked from kofal.net/zmk
Fix remaining Apache header lines.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user