Module Name: src Committed By: jmcneill Date: Mon Dec 14 20:58:45 UTC 2015
Modified Files: src/sys/dev/fdt: files.fdt Added Files: src/sys/dev/fdt: gpiokeys.c Log Message: Add driver for device tree "gpio-keys" device. Each GPIO key is mapped to a sysmon pswitch; code KEY_POWER is a power button, KEY_SLEEP is a sleep button, and everything else is treated as a hotkey button. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/files.fdt cvs rdiff -u -r0 -r1.1 src/sys/dev/fdt/gpiokeys.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.