feat(kscan): More complete PM support to drivers.

* Update our GPIO kscan drivers to more completely support PM device,
  by doing proper hardare init/deinit in the PM action hook.
This commit is contained in:
Peter Johanson
2024-04-24 21:11:16 -07:00
committed by Pete Johanson
parent c5cca5b34f
commit 0438cb0ee5
7 changed files with 203 additions and 38 deletions

View File

@@ -121,6 +121,7 @@ With that in place, the kscan sideband behavior will wrap the new driver:
compatible = "zmk,kscan-sideband-behaviors";
kscan = <&soft_off_direct_scan>;
auto-enable;
wakeup-source;
soft_off {