summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/cbe_powerbutton.c
Commit message (Collapse)AuthorAgeFilesLines
* powerpc/cell: Add support for power button of future IBM cell bladesChristian Krafft2008-07-221-0/+117
This patch adds support for the power button on future IBM cell blades. It actually doesn't shut down the machine. Instead it exposes an input device /dev/input/event0 to userspace which sends KEY_POWER if power button has been pressed. haldaemon actually recognizes the button, so a plattform independent acpid replacement should handle it correctly. Signed-off-by: Christian Krafft <krafft@de.ibm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud