Add support for using the power button function of the RK809.
authorkettenis <kettenis@openbsd.org>
Sun, 12 May 2024 20:02:13 +0000 (20:02 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 12 May 2024 20:02:13 +0000 (20:02 +0000)
commit30293cdc5e307bfdcdc6890bbcbb3806be2b69ff
tree300d7582a37404de0e7a496a4a0d2bc2adab4492
parent152c4722be445a76327dddf45ea5c5403445d91f
Add support for using the power button function of the RK809.
This initiates a graceful powerdown when the powerbutton is pressed
and makes it work as a wakeup from suspend.

ok patrick@
sys/dev/fdt/rkpmic.c