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>
 # 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"
          This pinctrl driver provides an interface that allows configuring
          of Intel Tiger Lake PCH pins and using them as GPIOs.
 
-endif
+endmenu