]> git.baikalelectronics.ru Git - kernel.git/commit
x86/ce4100: Fix pm_poweroff
authorFlorian Fainelli <ffainelli@freebox.fr>
Mon, 29 Oct 2012 13:40:18 +0000 (14:40 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 30 Oct 2012 09:16:46 +0000 (10:16 +0100)
commite51a55f0d856f259a41041036c9159368459f218
treedcbbccabb7a887872ced23e313f46d42d9b13e6e
parent7b641ee59325d7fe2d33fc5cee6ff56a9e242ef1
x86/ce4100: Fix pm_poweroff

The CE4100 platform is currently missing a proper pm_poweroff
implementation leading to poweroff making the CPU spin forever
and the CE4100 platform does not enter a low-power mode where
the external Power Management Unit can properly power off the
system. Power off on this platform is implemented pretty much
like reboot, by writing to the SoC built-in 8051 microcontroller
mapped at I/O port 0xcf9, the value 0x4.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: rui.zhang@intel.com
Cc: alan@linux.intel.com
Link: http://lkml.kernel.org/r/1351518020-25556-2-git-send-email-ffainelli@freebox.fr
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/ce4100/ce4100.c