aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2024-03-29 18:15:06 +0000
committerPete Johanson <[email protected]>2024-03-29 12:31:43 -0700
commitfff1cbecdcc75302b6280a469ed31687cfc79776 (patch)
treeae09f9d9838999e854f454ee3b8cca7ada4e3311
parentd672b0c70512aa9c880c76f34dd448f9cffe4ae6 (diff)
downloadzmk-fff1cbecdcc75302b6280a469ed31687cfc79776.tar.gz
zmk-fff1cbecdcc75302b6280a469ed31687cfc79776.zip
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.
-rw-r--r--app/boards/arm/adv360pro/adv360pro_left.dts1
-rw-r--r--app/boards/arm/adv360pro/adv360pro_right.dts1
-rw-r--r--app/boards/arm/bt60/bt60_v1.dts2
-rw-r--r--app/boards/arm/bt60/bt60_v1_hs.dts2
-rw-r--r--app/boards/arm/ckp/ckp.dtsi2
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v1_left.dts1
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v1_right.dts1
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v2_left.dts1
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v2_right.dts1
-rw-r--r--app/boards/arm/glove80/glove80.dtsi2
-rw-r--r--app/boards/arm/nice60/nice60.dts1
-rw-r--r--app/boards/arm/s40nc/s40nc.dts1
-rw-r--r--app/boards/shields/a_dux/a_dux.dtsi2
-rw-r--r--app/boards/shields/bat43/bat43.overlay1
-rw-r--r--app/boards/shields/bfo9000/bfo9000.dtsi1
-rw-r--r--app/boards/shields/boardsource3x4/boardsource3x4.overlay2
-rw-r--r--app/boards/shields/boardsource5x12/boardsource5x12.overlay2
-rw-r--r--app/boards/shields/chalice/chalice.overlay2
-rw-r--r--app/boards/shields/clog/clog.dtsi1
-rw-r--r--app/boards/shields/contra/contra.overlay2
-rw-r--r--app/boards/shields/corne/corne.dtsi1
-rw-r--r--app/boards/shields/cradio/cradio.dtsi2
-rw-r--r--app/boards/shields/crbn/crbn.overlay2
-rw-r--r--app/boards/shields/eek/eek.overlay2
-rw-r--r--app/boards/shields/elephant42/elephant42.dtsi1
-rw-r--r--app/boards/shields/ergodash/ergodash.dtsi1
-rw-r--r--app/boards/shields/eternal_keypad/eternal_keypad.dtsi1
-rw-r--r--app/boards/shields/fourier/fourier.dtsi1
-rw-r--r--app/boards/shields/helix/helix.dtsi1
-rw-r--r--app/boards/shields/hummingbird/hummingbird.overlay2
-rw-r--r--app/boards/shields/iris/iris.dtsi1
-rw-r--r--app/boards/shields/jian/jian.dtsi1
-rw-r--r--app/boards/shields/jiran/jiran.dtsi1
-rw-r--r--app/boards/shields/jorne/jorne.dtsi1
-rw-r--r--app/boards/shields/knob_goblin/knob_goblin.overlay2
-rw-r--r--app/boards/shields/kyria/kyria_common.dtsi1
-rw-r--r--app/boards/shields/leeloo/leeloo_common.dtsi1
-rw-r--r--app/boards/shields/leeloo_micro/leeloo_micro.dtsi1
-rw-r--r--app/boards/shields/lily58/lily58.dtsi1
-rw-r--r--app/boards/shields/lotus58/lotus58.dtsi1
-rw-r--r--app/boards/shields/m60/m60.overlay1
-rw-r--r--app/boards/shields/microdox/microdox.dtsi1
-rw-r--r--app/boards/shields/microdox/microdox_v2.dtsi1
-rw-r--r--app/boards/shields/murphpad/murphpad.overlay1
-rw-r--r--app/boards/shields/naked60/naked60.overlay1
-rw-r--r--app/boards/shields/osprette/osprette.overlay1
-rw-r--r--app/boards/shields/pancake/pancake.overlay1
-rw-r--r--app/boards/shields/qaz/qaz.overlay1
-rw-r--r--app/boards/shields/quefrency/quefrency_left.overlay2
-rw-r--r--app/boards/shields/quefrency/quefrency_right.overlay2
-rw-r--r--app/boards/shields/redox/redox.dtsi1
-rw-r--r--app/boards/shields/reviung34/reviung34.overlay2
-rw-r--r--app/boards/shields/reviung41/reviung41.overlay2
-rw-r--r--app/boards/shields/reviung5/reviung5.overlay1
-rw-r--r--app/boards/shields/reviung53/reviung53.overlay2
-rw-r--r--app/boards/shields/romac/romac.overlay1
-rw-r--r--app/boards/shields/romac_plus/romac_plus.overlay1
-rw-r--r--app/boards/shields/sofle/sofle.dtsi1
-rw-r--r--app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay1
-rw-r--r--app/boards/shields/splitreus62/splitreus62.dtsi1
-rw-r--r--app/boards/shields/tg4x/tg4x.overlay1
-rw-r--r--app/boards/shields/two_percent_milk/two_percent_milk.overlay1
-rw-r--r--app/boards/shields/waterfowl/waterfowl.dtsi1
-rw-r--r--app/boards/shields/zodiark/zodiark.dtsi1
73 files changed, 101 insertions, 0 deletions
diff --git a/app/boards/arm/adv360pro/adv360pro_left.dts b/app/boards/arm/adv360pro/adv360pro_left.dts
index 6ef5f59071..459a2232f1 100644
--- a/app/boards/arm/adv360pro/adv360pro_left.dts
+++ b/app/boards/arm/adv360pro/adv360pro_left.dts
@@ -10,6 +10,7 @@
/{
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/adv360pro/adv360pro_right.dts b/app/boards/arm/adv360pro/adv360pro_right.dts
index 97d846f855..748cc42aeb 100644
--- a/app/boards/arm/adv360pro/adv360pro_right.dts
+++ b/app/boards/arm/adv360pro/adv360pro_right.dts
@@ -10,6 +10,7 @@
/{
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/bt60/bt60_v1.dts b/app/boards/arm/bt60/bt60_v1.dts
index 53d4e77b41..315d8cceb8 100644
--- a/app/boards/arm/bt60/bt60_v1.dts
+++ b/app/boards/arm/bt60/bt60_v1.dts
@@ -81,6 +81,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/arm/bt60/bt60_v1_hs.dts b/app/boards/arm/bt60/bt60_v1_hs.dts
index 57b47554fc..27e3828617 100644
--- a/app/boards/arm/bt60/bt60_v1_hs.dts
+++ b/app/boards/arm/bt60/bt60_v1_hs.dts
@@ -30,6 +30,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/arm/ckp/ckp.dtsi b/app/boards/arm/ckp/ckp.dtsi
index 6bbbbdd74f..4142622ac8 100644
--- a/app/boards/arm/ckp/ckp.dtsi
+++ b/app/boards/arm/ckp/ckp.dtsi
@@ -34,6 +34,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v1_left.dts b/app/boards/arm/corneish_zen/corneish_zen_v1_left.dts
index 6683b1b240..2c77f01c0b 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v1_left.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v1_left.dts
@@ -15,6 +15,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v1_right.dts b/app/boards/arm/corneish_zen/corneish_zen_v1_right.dts
index 492c79fa10..536e46eab2 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v1_right.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v1_right.dts
@@ -15,6 +15,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts b/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
index dacb24c3a2..42839b6164 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
@@ -15,6 +15,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts b/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
index f1baea4265..b47d122fe5 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
@@ -15,6 +15,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/glove80/glove80.dtsi b/app/boards/arm/glove80/glove80.dtsi
index 0078fe627f..4803488b07 100644
--- a/app/boards/arm/glove80/glove80.dtsi
+++ b/app/boards/arm/glove80/glove80.dtsi
@@ -34,6 +34,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
debounce-press-ms = <4>;
debounce-release-ms = <20>;
diff --git a/app/boards/arm/nice60/nice60.dts b/app/boards/arm/nice60/nice60.dts
index 7397cffaba..d1b9f9927c 100644
--- a/app/boards/arm/nice60/nice60.dts
+++ b/app/boards/arm/nice60/nice60.dts
@@ -42,6 +42,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,5) R
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/arm/s40nc/s40nc.dts b/app/boards/arm/s40nc/s40nc.dts
index a04f42e1ff..a2eb89ea20 100644
--- a/app/boards/arm/s40nc/s40nc.dts
+++ b/app/boards/arm/s40nc/s40nc.dts
@@ -37,6 +37,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/a_dux/a_dux.dtsi b/app/boards/shields/a_dux/a_dux.dtsi
index caeae8dba2..46aa8fda2c 100644
--- a/app/boards/shields/a_dux/a_dux.dtsi
+++ b/app/boards/shields/a_dux/a_dux.dtsi
@@ -27,6 +27,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-direct";
+ wakeup-source;
+
input-gpios =
<&pro_micro 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&pro_micro 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
diff --git a/app/boards/shields/bat43/bat43.overlay b/app/boards/shields/bat43/bat43.overlay
index 600dccec4a..89c2428d1e 100644
--- a/app/boards/shields/bat43/bat43.overlay
+++ b/app/boards/shields/bat43/bat43.overlay
@@ -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
diff --git a/app/boards/shields/bfo9000/bfo9000.dtsi b/app/boards/shields/bfo9000/bfo9000.dtsi
index ea9283ad03..1108067196 100644
--- a/app/boards/shields/bfo9000/bfo9000.dtsi
+++ b/app/boards/shields/bfo9000/bfo9000.dtsi
@@ -28,6 +28,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/boardsource3x4/boardsource3x4.overlay b/app/boards/shields/boardsource3x4/boardsource3x4.overlay
index 389f5b7ab7..0d63214dde 100644
--- a/app/boards/shields/boardsource3x4/boardsource3x4.overlay
+++ b/app/boards/shields/boardsource3x4/boardsource3x4.overlay
@@ -13,6 +13,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/boardsource5x12/boardsource5x12.overlay b/app/boards/shields/boardsource5x12/boardsource5x12.overlay
index 9a721d0c4a..15ae7b68f2 100644
--- a/app/boards/shields/boardsource5x12/boardsource5x12.overlay
+++ b/app/boards/shields/boardsource5x12/boardsource5x12.overlay
@@ -13,6 +13,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/chalice/chalice.overlay b/app/boards/shields/chalice/chalice.overlay
index 92dfe35610..8631d73572 100644
--- a/app/boards/shields/chalice/chalice.overlay
+++ b/app/boards/shields/chalice/chalice.overlay
@@ -44,6 +44,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/clog/clog.dtsi b/app/boards/shields/clog/clog.dtsi
index feea830c6a..883aaa29bb 100644
--- a/app/boards/shields/clog/clog.dtsi
+++ b/app/boards/shields/clog/clog.dtsi
@@ -26,6 +26,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-direct";
+ wakeup-source;
input-gpios
= <&pro_micro 18 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
diff --git a/app/boards/shields/contra/contra.overlay b/app/boards/shields/contra/contra.overlay
index 0ac042d635..45cc3088f2 100644
--- a/app/boards/shields/contra/contra.overlay
+++ b/app/boards/shields/contra/contra.overlay
@@ -11,6 +11,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/corne/corne.dtsi b/app/boards/shields/corne/corne.dtsi
index f6d41e3353..e1edcce81e 100644
--- a/app/boards/shields/corne/corne.dtsi
+++ b/app/boards/shields/corne/corne.dtsi
@@ -47,6 +47,7 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/cradio/cradio.dtsi b/app/boards/shields/cradio/cradio.dtsi
index 4f8a09d715..b510c636f6 100644
--- a/app/boards/shields/cradio/cradio.dtsi
+++ b/app/boards/shields/cradio/cradio.dtsi
@@ -27,6 +27,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-direct";
+ wakeup-source;
+
input-gpios
= <&pro_micro 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&pro_micro 18 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
diff --git a/app/boards/shields/crbn/crbn.overlay b/app/boards/shields/crbn/crbn.overlay
index af5910d699..c6a2b87c04 100644
--- a/app/boards/shields/crbn/crbn.overlay
+++ b/app/boards/shields/crbn/crbn.overlay
@@ -13,6 +13,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/eek/eek.overlay b/app/boards/shields/eek/eek.overlay
index e9e734ac8a..28aab7efb8 100644
--- a/app/boards/shields/eek/eek.overlay
+++ b/app/boards/shields/eek/eek.overlay
@@ -26,6 +26,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/elephant42/elephant42.dtsi b/app/boards/shields/elephant42/elephant42.dtsi
index 22a7270868..d72aa9a876 100644
--- a/app/boards/shields/elephant42/elephant42.dtsi
+++ b/app/boards/shields/elephant42/elephant42.dtsi
@@ -26,6 +26,7 @@ RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/ergodash/ergodash.dtsi b/app/boards/shields/ergodash/ergodash.dtsi
index 2e41ca3081..b6ef7fc41c 100644
--- a/app/boards/shields/ergodash/ergodash.dtsi
+++ b/app/boards/shields/ergodash/ergodash.dtsi
@@ -35,6 +35,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,13) RC(4,12
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/eternal_keypad/eternal_keypad.dtsi b/app/boards/shields/eternal_keypad/eternal_keypad.dtsi
index 3144f986f6..1274e3dd95 100644
--- a/app/boards/shields/eternal_keypad/eternal_keypad.dtsi
+++ b/app/boards/shields/eternal_keypad/eternal_keypad.dtsi
@@ -14,6 +14,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/fourier/fourier.dtsi b/app/boards/shields/fourier/fourier.dtsi
index 3b309b8dcd..f486e0a44e 100644
--- a/app/boards/shields/fourier/fourier.dtsi
+++ b/app/boards/shields/fourier/fourier.dtsi
@@ -30,6 +30,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) /**/ RC(3,6) RC(3,9
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/helix/helix.dtsi b/app/boards/shields/helix/helix.dtsi
index df80f4caec..8566ffc6bf 100644
--- a/app/boards/shields/helix/helix.dtsi
+++ b/app/boards/shields/helix/helix.dtsi
@@ -32,6 +32,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8) RC(4,9
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/hummingbird/hummingbird.overlay b/app/boards/shields/hummingbird/hummingbird.overlay
index 871728a28e..2474d089df 100644
--- a/app/boards/shields/hummingbird/hummingbird.overlay
+++ b/app/boards/shields/hummingbird/hummingbird.overlay
@@ -29,6 +29,8 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "row2col";
col-gpios
diff --git a/app/boards/shields/iris/iris.dtsi b/app/boards/shields/iris/iris.dtsi
index c979214c31..8ddbd359eb 100644
--- a/app/boards/shields/iris/iris.dtsi
+++ b/app/boards/shields/iris/iris.dtsi
@@ -32,6 +32,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,2) RC(4,9) RC(3,6) RC(3,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/jian/jian.dtsi b/app/boards/shields/jian/jian.dtsi
index c5ae1b9e44..439bf93c05 100644
--- a/app/boards/shields/jian/jian.dtsi
+++ b/app/boards/shields/jian/jian.dtsi
@@ -62,6 +62,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/jiran/jiran.dtsi b/app/boards/shields/jiran/jiran.dtsi
index b6633b6558..517cbe5f7c 100644
--- a/app/boards/shields/jiran/jiran.dtsi
+++ b/app/boards/shields/jiran/jiran.dtsi
@@ -67,6 +67,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/jorne/jorne.dtsi b/app/boards/shields/jorne/jorne.dtsi
index a2d804b9ab..e7b81e5f11 100644
--- a/app/boards/shields/jorne/jorne.dtsi
+++ b/app/boards/shields/jorne/jorne.dtsi
@@ -63,6 +63,7 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/knob_goblin/knob_goblin.overlay b/app/boards/shields/knob_goblin/knob_goblin.overlay
index 49306ddf0a..c42482dbf4 100644
--- a/app/boards/shields/knob_goblin/knob_goblin.overlay
+++ b/app/boards/shields/knob_goblin/knob_goblin.overlay
@@ -14,6 +14,8 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/kyria/kyria_common.dtsi b/app/boards/shields/kyria/kyria_common.dtsi
index 23058f376a..f662fa1c40 100644
--- a/app/boards/shields/kyria/kyria_common.dtsi
+++ b/app/boards/shields/kyria/kyria_common.dtsi
@@ -15,6 +15,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
};
diff --git a/app/boards/shields/leeloo/leeloo_common.dtsi b/app/boards/shields/leeloo/leeloo_common.dtsi
index df4f228e9d..8ae5b0648e 100644
--- a/app/boards/shields/leeloo/leeloo_common.dtsi
+++ b/app/boards/shields/leeloo/leeloo_common.dtsi
@@ -32,6 +32,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/leeloo_micro/leeloo_micro.dtsi b/app/boards/shields/leeloo_micro/leeloo_micro.dtsi
index bc314205c2..f23396533f 100644
--- a/app/boards/shields/leeloo_micro/leeloo_micro.dtsi
+++ b/app/boards/shields/leeloo_micro/leeloo_micro.dtsi
@@ -31,6 +31,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(3,4) RC(3,5) RC(2,5) RC(2,6) RC(2,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/lily58/lily58.dtsi b/app/boards/shields/lily58/lily58.dtsi
index 1a326d62e1..c82b197cc5 100644
--- a/app/boards/shields/lily58/lily58.dtsi
+++ b/app/boards/shields/lily58/lily58.dtsi
@@ -33,6 +33,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/lotus58/lotus58.dtsi b/app/boards/shields/lotus58/lotus58.dtsi
index afa311d9a6..e4595930cd 100644
--- a/app/boards/shields/lotus58/lotus58.dtsi
+++ b/app/boards/shields/lotus58/lotus58.dtsi
@@ -33,6 +33,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/m60/m60.overlay b/app/boards/shields/m60/m60.overlay
index 22eed44f35..c479233cd5 100644
--- a/app/boards/shields/m60/m60.overlay
+++ b/app/boards/shields/m60/m60.overlay
@@ -14,6 +14,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/microdox/microdox.dtsi b/app/boards/shields/microdox/microdox.dtsi
index 4869cfeabb..65c670f01e 100644
--- a/app/boards/shields/microdox/microdox.dtsi
+++ b/app/boards/shields/microdox/microdox.dtsi
@@ -9,6 +9,7 @@
/ {
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
= <&pro_micro 16 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
diff --git a/app/boards/shields/microdox/microdox_v2.dtsi b/app/boards/shields/microdox/microdox_v2.dtsi
index 6eb7efa58f..95aaf79dbe 100644
--- a/app/boards/shields/microdox/microdox_v2.dtsi
+++ b/app/boards/shields/microdox/microdox_v2.dtsi
@@ -9,6 +9,7 @@
/ {
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
};
};
diff --git a/app/boards/shields/murphpad/murphpad.overlay b/app/boards/shields/murphpad/murphpad.overlay
index a82349684f..e2c9117f93 100644
--- a/app/boards/shields/murphpad/murphpad.overlay
+++ b/app/boards/shields/murphpad/murphpad.overlay
@@ -14,6 +14,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/naked60/naked60.overlay b/app/boards/shields/naked60/naked60.overlay
index 843c867f10..4e36bc762f 100644
--- a/app/boards/shields/naked60/naked60.overlay
+++ b/app/boards/shields/naked60/naked60.overlay
@@ -11,6 +11,7 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/osprette/osprette.overlay b/app/boards/shields/osprette/osprette.overlay
index af2e562547..ed893f4737 100644
--- a/app/boards/shields/osprette/osprette.overlay
+++ b/app/boards/shields/osprette/osprette.overlay
@@ -26,6 +26,7 @@ RC(0,0) RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8)
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "row2col";
col-gpios
diff --git a/app/boards/shields/pancake/pancake.overlay b/app/boards/shields/pancake/pancake.overlay
index 0ceb2d5c6f..0538bf71ed 100644
--- a/app/boards/shields/pancake/pancake.overlay
+++ b/app/boards/shields/pancake/pancake.overlay
@@ -11,6 +11,7 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/qaz/qaz.overlay b/app/boards/shields/qaz/qaz.overlay
index d0ec5b3a0e..5c76b98f87 100644
--- a/app/boards/shields/qaz/qaz.overlay
+++ b/app/boards/shields/qaz/qaz.overlay
@@ -27,6 +27,7 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/quefrency/quefrency_left.overlay b/app/boards/shields/quefrency/quefrency_left.overlay
index cf7958410c..a40d47c1bb 100644
--- a/app/boards/shields/quefrency/quefrency_left.overlay
+++ b/app/boards/shields/quefrency/quefrency_left.overlay
@@ -12,6 +12,8 @@
*/
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
diff --git a/app/boards/shields/quefrency/quefrency_right.overlay b/app/boards/shields/quefrency/quefrency_right.overlay
index 446a614a22..ebb9f8447a 100644
--- a/app/boards/shields/quefrency/quefrency_right.overlay
+++ b/app/boards/shields/quefrency/quefrency_right.overlay
@@ -17,6 +17,8 @@
*/
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
diff --git a/app/boards/shields/redox/redox.dtsi b/app/boards/shields/redox/redox.dtsi
index 505a5c69b0..098be43448 100644
--- a/app/boards/shields/redox/redox.dtsi
+++ b/app/boards/shields/redox/redox.dtsi
@@ -32,6 +32,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/reviung34/reviung34.overlay b/app/boards/shields/reviung34/reviung34.overlay
index 6ec9813df3..0f58b99da3 100644
--- a/app/boards/shields/reviung34/reviung34.overlay
+++ b/app/boards/shields/reviung34/reviung34.overlay
@@ -38,6 +38,8 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(3,7)
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/reviung41/reviung41.overlay b/app/boards/shields/reviung41/reviung41.overlay
index 079fd36b96..f8503fc35a 100644
--- a/app/boards/shields/reviung41/reviung41.overlay
+++ b/app/boards/shields/reviung41/reviung41.overlay
@@ -27,6 +27,8 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(5,0) RC(5,1) RC(5,2) RC(5,3)
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/reviung5/reviung5.overlay b/app/boards/shields/reviung5/reviung5.overlay
index 0382145c69..0abd3a06ec 100644
--- a/app/boards/shields/reviung5/reviung5.overlay
+++ b/app/boards/shields/reviung5/reviung5.overlay
@@ -22,6 +22,7 @@
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/reviung53/reviung53.overlay b/app/boards/shields/reviung53/reviung53.overlay
index d6037aecda..fa784478bf 100644
--- a/app/boards/shields/reviung53/reviung53.overlay
+++ b/app/boards/shields/reviung53/reviung53.overlay
@@ -28,6 +28,8 @@ RC(6,0) RC(6,1) RC(6,2) RC(6,3) RC(6,4) RC(6,5)
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
col-gpios
diff --git a/app/boards/shields/romac/romac.overlay b/app/boards/shields/romac/romac.overlay
index 3d99e51bfe..8c11a8ac53 100644
--- a/app/boards/shields/romac/romac.overlay
+++ b/app/boards/shields/romac/romac.overlay
@@ -13,6 +13,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/romac_plus/romac_plus.overlay b/app/boards/shields/romac_plus/romac_plus.overlay
index 229b4a2cfe..39e123c0c2 100644
--- a/app/boards/shields/romac_plus/romac_plus.overlay
+++ b/app/boards/shields/romac_plus/romac_plus.overlay
@@ -13,6 +13,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/sofle/sofle.dtsi b/app/boards/shields/sofle/sofle.dtsi
index f88339d795..ef89e4a592 100644
--- a/app/boards/shields/sofle/sofle.dtsi
+++ b/app/boards/shields/sofle/sofle.dtsi
@@ -33,6 +33,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
index df930cd254..ec40a0165d 100644
--- a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
+++ b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
index 3823cdfb76..7341f072be 100644
--- a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
+++ b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_left.overlay b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_left.overlay
index 59d825530e..61b663e605 100644
--- a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_left.overlay
+++ b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_left.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_right.overlay b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_right.overlay
index 95cea9ecc3..5aee19bdbb 100644
--- a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_right.overlay
+++ b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix_right.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
index fc38bbcbc7..8d56890f31 100644
--- a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
+++ b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "row2col";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
index c9a96491ee..6b719020a2 100644
--- a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
+++ b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "row2col";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_left.overlay b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_left.overlay
index 024c9e75b2..2a3f485da5 100644
--- a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_left.overlay
+++ b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_left.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_right.overlay b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_right.overlay
index 58df0026f0..6eb0d11382 100644
--- a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_right.overlay
+++ b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle_right.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
index 4a1bec902a..9c1fd97576 100644
--- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
+++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
@@ -13,6 +13,8 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
+
diode-direction = "row2col";
row-gpios
diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
index c365547761..b280b42d31 100644
--- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
+++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
@@ -13,6 +13,7 @@
kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "row2col";
row-gpios
diff --git a/app/boards/shields/splitreus62/splitreus62.dtsi b/app/boards/shields/splitreus62/splitreus62.dtsi
index d80f8731fb..1a4f3af1b9 100644
--- a/app/boards/shields/splitreus62/splitreus62.dtsi
+++ b/app/boards/shields/splitreus62/splitreus62.dtsi
@@ -34,6 +34,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "row2col";
row-gpios
diff --git a/app/boards/shields/tg4x/tg4x.overlay b/app/boards/shields/tg4x/tg4x.overlay
index 07a0635d5d..ac05e8108d 100644
--- a/app/boards/shields/tg4x/tg4x.overlay
+++ b/app/boards/shields/tg4x/tg4x.overlay
@@ -9,6 +9,7 @@
/ {
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
diff --git a/app/boards/shields/two_percent_milk/two_percent_milk.overlay b/app/boards/shields/two_percent_milk/two_percent_milk.overlay
index 474150ef2f..7647f55151 100644
--- a/app/boards/shields/two_percent_milk/two_percent_milk.overlay
+++ b/app/boards/shields/two_percent_milk/two_percent_milk.overlay
@@ -11,6 +11,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-direct";
+ wakeup-source;
input-gpios
= <&pro_micro 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
diff --git a/app/boards/shields/waterfowl/waterfowl.dtsi b/app/boards/shields/waterfowl/waterfowl.dtsi
index d46910a3f2..2329ca78f7 100644
--- a/app/boards/shields/waterfowl/waterfowl.dtsi
+++ b/app/boards/shields/waterfowl/waterfowl.dtsi
@@ -31,6 +31,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5)
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/zodiark/zodiark.dtsi b/app/boards/shields/zodiark/zodiark.dtsi
index 3151f31c99..aa68e20d8c 100644
--- a/app/boards/shields/zodiark/zodiark.dtsi
+++ b/app/boards/shields/zodiark/zodiark.dtsi
@@ -33,6 +33,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) R
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
+ wakeup-source;
diode-direction = "col2row";
row-gpios