pinctrl: intel: Kconfig: Add configuration menu to Intel pin control
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 18 Sep 2021 05:46:29 +0000 (13:46 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Oct 2021 23:30:11 +0000 (01:30 +0200)
Adding a configuration menu to hold many Intel pin control drivers
helps to make the display more concise.

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/Kconfig

index fb1495bd77c43a053f298b6f2c680018b263be56..e5ec8b8956da1633d40d8a5dd37586ebd7844b4a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # Intel pin control drivers
-
-if (X86 || COMPILE_TEST)
+menu "Intel pinctrl drivers"
+       depends on X86 || COMPILE_TEST
 
 config PINCTRL_BAYTRAIL
        bool "Intel Baytrail GPIO pin control"
@@ -168,4 +168,4 @@ config PINCTRL_TIGERLAKE
          This pinctrl driver provides an interface that allows configuring
          of Intel Tiger Lake PCH pins and using them as GPIOs.
 
-endif
+endmenu