Lots of clean up, basic kscan working, remove zephyr-rust.
This commit is contained in:
parent
5b4e43cebd
commit
52bfc9dd84
11 changed files with 46 additions and 93 deletions
0
boards/shields/petejohanson_handwire/Kconfig.defconfig
Normal file
0
boards/shields/petejohanson_handwire/Kconfig.defconfig
Normal file
6
boards/shields/petejohanson_handwire/Kconfig.shield
Normal file
6
boards/shields/petejohanson_handwire/Kconfig.shield
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2019 Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SHIELD_PETEJOHANSON_HANDWIRE
|
||||
def_bool $(shields_list_contains,petejohanson_handwire)
|
||||
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
/ {
|
||||
kscan {
|
||||
compatible = "gpio-kscan";
|
||||
label = "Handwired GPIO KSCAN matrix";
|
||||
|
||||
row-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
|
||||
<&arduino_header 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
col-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
|
||||
<&arduino_header 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue