Initial working Clueboard California Macropad w/ proton-c fixes

* Basic Clueboard Californai Macropad shield definition.
* New "direct" KSCAN driver that supports non-matrix direct
  wiring for switches, needed for macropad that doesn't have
  a matrix at all.
* Some renames for existing KSCAN GPIO driver to make the implied
  "matrix" part explicit.
This commit is contained in:
Pete Johanson
2020-06-24 10:06:35 -04:00
parent 23931aa4fe
commit d35a95c7af
16 changed files with 129 additions and 11 deletions

View File

@@ -55,7 +55,7 @@
};
kscan {
compatible = "gpio-kscan";
compatible = "zmk,kscan-gpio-matrix";
label = "Keyscan Matrix";
row-gpios = <&gpioa 10 GPIO_ACTIVE_HIGH>,
<&gpioa 9 GPIO_ACTIVE_HIGH>,