android_kernel_xiaomi_sm8350/arch/powerpc/platforms/celleb
Ishizaki Kou b41848031a [POWERPC] Celleb: Support for Power/Reset buttons
This supports Power/Reset buttons on Beat on Celleb.

On Beat, we have an event from Beat if Power button or Reset button
is pressed. This patch catches the event and convert it to a signal
to INIT process by calling ctrl_alt_del() function.

/sbin/inittab have no entry to turn the machine power off so we have
to detect if power button is pressed or not internally in our driver.
This idea is taken from PS3's event handling subsystem.

Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-03 13:25:28 +10:00
..
beat_syscall.h
beat_wrapper.h [POWERPC] Celleb: interfaces to the hypervisor 2007-02-07 14:03:21 +11:00
beat.c [POWERPC] Celleb: Support for Power/Reset buttons 2007-10-03 13:25:28 +10:00
beat.h [POWERPC] Celleb: Move pause, kexec_cpu_down to beat.c 2007-10-03 13:25:28 +10:00
htab.c [POWERPC] Celleb: improve MMU hashtable locking 2007-02-13 15:35:51 +11:00
hvCall.S [POWERPC] Celleb: interfaces to the hypervisor 2007-02-07 14:03:21 +11:00
interrupt.c [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
interrupt.h [POWERPC] Celleb: support interrupts 2007-02-07 14:03:21 +11:00
iommu.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
Kconfig [POWERPC] Split cell platforms into their respective Kconfig file 2007-03-22 10:05:00 -05:00
Makefile [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
pci.c [POWERPC] Fix section mismatch in PCI code 2007-09-19 15:25:34 +10:00
pci.h [POWERPC] Celleb: Support PCI bus and base of I/O 2007-01-24 21:35:45 +11:00
scc_epci.c [POWERPC] celleb_epci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
scc_sio.c [POWERPC] Init markings for celleb 2007-08-17 11:01:50 +10:00
scc_uhc.c [POWERPC] Celleb: setup usb host controller in SCC 2007-02-07 14:03:21 +11:00
scc.h
setup.c [POWERPC] Celleb: Move pause, kexec_cpu_down to beat.c 2007-10-03 13:25:28 +10:00
smp.c [POWERPC] Celleb: basic support 2007-02-07 14:03:21 +11:00
spu_priv1.c [POWERPC] Celleb: support spu priv1 ops 2007-02-07 14:03:21 +11:00
udbg_beat.c [POWERPC] Celleb: support udbg 2007-02-07 14:03:21 +11:00