mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Geert Uytterhoeven](/assets/img/avatar_default.png)
The Toshiba Visconti TMPV7700 series pin controller is only present on
Visconti SoCs. Hence add a dependency on ARCH_VISCONTI, to prevent
asking the user about this driver when configuring a kernel without
Visconti platform support.
Fixes: a68a784426
("pinctrl: visconti: Add Toshiba Visconti SoCs pinctrl support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Link: https://lore.kernel.org/r/20201005125049.26926-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
14 lines
359 B
Text
14 lines
359 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config PINCTRL_VISCONTI
|
|
bool
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
select GENERIC_PINCTRL_GROUPS
|
|
select GENERIC_PINMUX_FUNCTIONS
|
|
|
|
config PINCTRL_TMPV7700
|
|
bool "Toshiba Visconti TMPV7700 series pinctrl driver"
|
|
depends on OF
|
|
depends on ARCH_VISCONTI || COMPILE_TEST
|
|
select PINCTRL_VISCONTI
|
|
default ARCH_VISCONTI
|