It looks like micro-evtd just uses the GPIO to watch for the power button being pressed. The feature is optional (guarded by #define). If we could get the kernel to do that instead, we could omit the GPIO monitoring.

Something like
https://www.kernel.org/doc/Documentation/devicetree/bindings/input/gpio-keys.txt
or
https://www.kernel.org/doc/Documentation/devicetree/bindings/input/gpio-keys-polled.txt
maybe...

Reply via email to