refactor: Move drivers into properly module.
* Align our driver module layout to properly match Zephyr conventions, allowing proper CMake setup to amend the library for each type of driver.
This commit is contained in:
parent
eaeea4bdfa
commit
690bc1bb44
55 changed files with 53 additions and 39 deletions
22
app/module/dts/bindings/kscan/zmk,kscan-gpio-demux.yaml
Normal file
22
app/module/dts/bindings/kscan/zmk,kscan-gpio-demux.yaml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue