android_kernel_xiaomi_sdm845/arch/sh/boards/mach-se
Magnus Damm 9747e78b30 sh: use in-soc KEYSC on se7724
This patch updates the Solution Engine 7724 board code to use
in-SoC KEYSC resources for the keyboard platform device. Using
the in-SoC key scan controller fixes a crash-during-resume issue.

Without this patch the KEYSC hardware block located in the board
specific FPGA is used together with an external IRQ which is
routed through the FPGA and handled by some board specific demux
code. This board specific FPGA interrupt code does not implement
desc->set_wake() so the enable_irq_wake() call in the sh_keysc
driver will fail at suspend-to-ram time and the disable_irq_wake()
will bomb out when resuming.

Changing the platform data to use the in-SoC KEYSC hardware makes
the se7724 board support code less special which is a good thing.
Also, the board specific KEYSC pin setup code selects in-SoC pin
functions already which makes the current FPGA platform device data
look like a typo.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-08-15 12:58:47 +09:00
..
770x sh: Kill off cf-enabler with extreme prejudice. 2008-12-22 18:44:46 +09:00
7206 arch/sh/boards/mach-se/7206/io.c: Remove unnecessary semicolons 2009-06-29 16:35:09 +09:00
7343 sh: remove ioport cruft and smc91x from se7343 2008-12-22 18:43:51 +09:00
7721 sh: Kill off cf-enabler with extreme prejudice. 2008-12-22 18:44:46 +09:00
7722 sh: Kill off cf-enabler with extreme prejudice. 2008-12-22 18:44:46 +09:00
7724 sh: use in-soc KEYSC on se7724 2009-08-15 12:58:47 +09:00
7751 sh: pci: Move the se7751 fixups in to arch/sh/drivers/pci/. 2009-04-20 21:42:59 +09:00
7780 sh: pci: remove duplicated #include's 2009-06-14 17:48:43 +09:00
board-se7619.c sh: Move out individual boards without mach groups. 2008-07-30 00:13:39 +09:00
Makefile sh: Add ms7724se (SH7724) board support 2009-05-26 17:01:47 +09:00