android_kernel_xiaomi_sm8350/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
7206 arch/sh/boards/mach-se/7206/io.c: Remove unnecessary semicolons 2009-06-29 16:35:09 +09:00
7343
7721
7722
7724 sh: use in-soc KEYSC on se7724 2009-08-15 12:58:47 +09:00
7751
7780 sh: pci: remove duplicated #include's 2009-06-14 17:48:43 +09:00
board-se7619.c
Makefile sh: Add ms7724se (SH7724) board support 2009-05-26 17:01:47 +09:00