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

@@ -12,6 +12,8 @@
*/
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
wakeup-source;
diode-direction = "col2row";

View File

@@ -17,6 +17,8 @@
*/
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
wakeup-source;
diode-direction = "col2row";