Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: sh_keysc - remove dependency on SUPERH

A dependency on ARCH_SHMOBILE seems to be the best option for sh_keysc:

* For Super H based SoCs: sh_keysc is used on SH_MIGOR, SH_ECOVEC, SH_KFR2R09,
SH_7722_SOLUTION_ENGINE, and SH_7724_SOLUTION_ENGINE, which depend on
either CPU_SUBTYPE_SH7722 or CPU_SUBTYPE_SH7724, and both select
ARCH_SHMOBILE.

* For ARM Based SoCs: Since the removal of legacy (non-multiplatform) support
this driver has not been used by any Renesas ARM based SoCs. The Renesas
ARM based SoCs currently select ARCH_SHMOBILE, however, it is planned
that this will no longer be the case.

This is part of an ongoing process to migrate from ARCH_SHMOBILE to
ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Simon Horman and committed by
Dmitry Torokhov
5186b8c4 7a3ed686

+1 -1
+1 -1
drivers/input/keyboard/Kconfig
··· 560 560 561 561 config KEYBOARD_SH_KEYSC 562 562 tristate "SuperH KEYSC keypad support" 563 - depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST 563 + depends on ARCH_SHMOBILE || COMPILE_TEST 564 564 help 565 565 Say Y here if you want to use a keypad attached to the KEYSC block 566 566 on SuperH processors such as sh7722 and sh7343.