forked from kofal.net/zmk
Add new kscan_gpio_demux driver
+ zmk,kscan_gpio_demux is now a compatible kscan option + kscan_gpio_demux is based heavily off of the implementation of kscan_gpio_matrix, modified to address cols using an n-to-1 demultiplexer chip instead of discrete IO + Added zmk,kscan_gpio_demux.yaml file * modified CMakeLists to include new source files
This commit is contained in:
22
app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-demux.yaml
Normal file
22
app/drivers/zephyr/dts/bindings/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
|
||||
Reference in New Issue
Block a user