fix: Add wakeup-source; to kscan nodes for ZMK_SLEEP.

* ZMK_SLEEP also enables PM_DEVICE, so be sure to mark kscan
  nodes as wakeup sources so they can wake keyboards from sleep.
This commit is contained in:
Peter Johanson
2024-03-29 18:15:06 +00:00
committed by Pete Johanson
parent d672b0c705
commit fff1cbecdc
73 changed files with 101 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(6,0) RC(6,1) RC(6,2)
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
wakeup-source;
diode-direction = "col2row";
col-gpios