Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp365345pxb; Sat, 18 Sep 2021 05:12:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNnOEnAUszx0aVGeKrJ/8jVhf3X29VKfcf+tY4c37crPpakl5VmlVGZ+T5SEet0JMANFuM X-Received: by 2002:a92:c248:: with SMTP id k8mr9946640ilo.52.1631967149023; Sat, 18 Sep 2021 05:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631967149; cv=none; d=google.com; s=arc-20160816; b=XyN8RKZDhmJ97ZbO2Gr8lvhlEllsGuatgf/5R/a+foqPRhzBSytjM9LK8yJ/TQB8O1 4a+YczZm4pIeSdRtJveZfChG4sUuW9g3xP0EyOjRmE+geeSCuAnkCxL1dMtM+hL/WJJx 67SuNjgIKIQ0moKQFGUfDrSd5mzOmZJ+TEnWx/n17ryKg6q/sV6hhEhyh7Abu11Br0yP uqJMS4fDrc8ZdmbAkTBvpUjlvYc9hmSracA4WB/APB11OFKg5u+ywgDTxLc1KQ5GzfyI 9OmMGAq3+pdKh7LGpIidr/+4+I1c6kbqn7JD4/E8bTBhVZiKM7YvHms9+gdF7tAD50+W 9Hug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=xKoVTmASatjipbtVVMHf2hPc3yagVIyuEnaszU87sqE=; b=qEUrqHWt6S2dv+dzb/OlUQ6hJoX2llveA7YgLVoPCvKeHSFnaGw67tU4jRIvHkow6R 7BYbSYCr50jfpIOjtWEjAA7ULnal4VWOEkOu4P+IcXpM+djecgCvMp03wTqDBqHAKQlF VPJNeDk3TBhEFd8wb7EInQWW5Rb7JQAjK7A+6bw/919seGYPiXwz+HUe91rRiFo22qVH zSSAo9SuOXpBRW8qt+lf7hGshM0cMaHSpb9S57wKC3ZV6pzPJiH+c15c4nQ2wXFCkMG0 iAQSCCPLS2SVhTiUQ8aGX5dfmfULfTGrcVl818xjKw38ARcMgw60sfGGdCCvdXtT3WHk 0Mvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si7698509ilr.112.2021.09.18.05.12.18; Sat, 18 Sep 2021 05:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241079AbhIRDSv (ORCPT + 99 others); Fri, 17 Sep 2021 23:18:51 -0400 Received: from mx24.baidu.com ([111.206.215.185]:44720 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234698AbhIRDSs (ORCPT ); Fri, 17 Sep 2021 23:18:48 -0400 Received: from BJHW-Mail-Ex13.internal.baidu.com (unknown [10.127.64.36]) by Forcepoint Email with ESMTPS id 9080CA91C5D011A57657; Sat, 18 Sep 2021 11:17:23 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 18 Sep 2021 11:17:23 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 18 Sep 2021 11:17:23 +0800 From: Cai Huoqing To: CC: Mika Westerberg , Andy Shevchenko , Linus Walleij , , Subject: [PATCH v2] pinctrl: intel: Kconfig: Add config menu to intel pinctrl Date: Sat, 18 Sep 2021 11:17:16 +0800 Message-ID: <20210918031717.18297-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) X-Baidu-BdMsfe-DateCheck: 1_BJHW-Mail-Ex13_2021-09-18 11:17:23:665 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding a config menu to hold many intel pinctrl drivers helps to make the display more concise. Signed-off-by: Cai Huoqing --- v1->v2: Revert to "select PINCTRL_INTE" for PINCTRL_TIGERLAKE config. drivers/pinctrl/intel/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig index fb1495bd77c4..64f8b37fd705 100644 --- a/drivers/pinctrl/intel/Kconfig +++ b/drivers/pinctrl/intel/Kconfig @@ -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,5 @@ 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 + -- 2.25.1