aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/Kconfig
diff options
context:
space:
mode:
authorChristian Krafft <krafft@de.ibm.com>2008-07-15 15:51:45 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-21 20:39:32 -0400
commit4795b7801b07e1b7286edb0d9321433fc0eac6cc (patch)
tree74ee09ea441a4ebb57cb2e35d2d8def1e63f98f6 /arch/powerpc/platforms/cell/Kconfig
parent70694a8bab22bd0cc98ff4ee5cc75fe9be30fcd0 (diff)
powerpc/cell: Add support for power button of future IBM cell blades
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>
Diffstat (limited to 'arch/powerpc/platforms/cell/Kconfig')
-rw-r--r--arch/powerpc/platforms/cell/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index 2d1957bc450d..c14d7d8d96c8 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -91,6 +91,14 @@ config PPC_IBM_CELL_RESETBUTTON
91 Support Pinhole Resetbutton on IBM Cell blades. 91 Support Pinhole Resetbutton on IBM Cell blades.
92 This adds a method to trigger system reset via front panel pinhole button. 92 This adds a method to trigger system reset via front panel pinhole button.
93 93
94config PPC_IBM_CELL_POWERBUTTON
95 tristate "IBM Cell Blade power button"
96 depends on PPC_IBM_CELL_BLADE && PPC_PMI && INPUT_EVDEV
97 default y
98 help
99 Support Powerbutton on IBM Cell blades.
100 This will enable the powerbutton as an input device.
101
94config CBE_THERM 102config CBE_THERM
95 tristate "CBE thermal support" 103 tristate "CBE thermal support"
96 default m 104 default m