Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp467379pxb; Sat, 18 Sep 2021 07:58:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5sG3im3MDpMSrE/yYAKMtk8z6v/TqsCeyC2NZX8Ikj+8XVWSeJdbW2qOn1mvFJwcXOnUG X-Received: by 2002:aa7:db85:: with SMTP id u5mr19018413edt.234.1631977136514; Sat, 18 Sep 2021 07:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631977136; cv=none; d=google.com; s=arc-20160816; b=lN94bKvC7UnhZEqG3rthhoM0OmFUvoAeCt5ae2lAQgESZ0KQZ6y48k2j6hajkSwBtE QwarZMs6zHJaDcen+YDnLJbwYMhrE7t4iyUC0Kblywd63dHoaMM5lzM4k2szeBG+BzjD 0kKva3CjOvG319eN5YzSJ2JnJ6BAtYDxT90xP+gn/EGRE3w+RCk65nfXkS5skzb+6Wu+ 1QUqtCeNK3R+t4tjRgSo0FUptsSbLFk3xRYq5oyikFvDOKkSXJDyu+smFl0aoGcWopJn oWN2r6UtMz1BBjZdiIHvwV2KcASaWx04fRcK2tdIusGijwCl1he+5EEcaOIfHkk4ZkrC 5Iug== 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=9OAyZ3PIhuXTbQzNo12fgVtTTaRn+SGZBkXK7W12Moo=; b=twMv21YbzCl/jCgOVE4uU1ok+QbZRnBWom41c7CMKjhfIqN9DMJ77T6p681nDjCVyI 2TJGYAolQTULsxqmYK/mSuaiM1/mdH934C+IfkMNFy4a2j09oP9ATdQnkVTVC1KDy+XF X0WGQA9vBfeENnHJE4BQIsV/h7+EnYNcGyuSQoOXsRdaaC189rFtc4iCpghdLHqNCnuW gfT75U9pDabH7FMylm4bRzaPGiBW9xF3sP4PI2QHyR+T/Vg2zUc+1esl6XO1USTb+laJ E7RT/N4tavaepSSn7emvgV350aUNUvAVTg9wVKoLQCa8JXPsKB/fqBq45f5BInSd9k8p 3JFw== 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 e19si2245752ejm.282.2021.09.18.07.58.17; Sat, 18 Sep 2021 07:58:56 -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 S235645AbhIRFsJ (ORCPT + 99 others); Sat, 18 Sep 2021 01:48:09 -0400 Received: from mx24.baidu.com ([111.206.215.185]:32908 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229627AbhIRFsJ (ORCPT ); Sat, 18 Sep 2021 01:48:09 -0400 Received: from BC-Mail-Ex29.internal.baidu.com (unknown [172.31.51.23]) by Forcepoint Email with ESMTPS id 93716261FD2CCB86037C; Sat, 18 Sep 2021 13:46:36 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex29.internal.baidu.com (172.31.51.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Sat, 18 Sep 2021 13:46:36 +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 13:46:35 +0800 From: Cai Huoqing To: CC: Mika Westerberg , Andy Shevchenko , Linus Walleij , , Subject: [PATCH v3] pinctrl: intel: Kconfig: Add configuration menu to Intel pin control Date: Sat, 18 Sep 2021 13:46:29 +0800 Message-ID: <20210918054630.18544-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: BC-Mail-Ex30.internal.baidu.com (172.31.51.24) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding a configuration menu to hold many Intel pin control drivers helps to make the display more concise. Acked-by: Andy Shevchenko Signed-off-by: Cai Huoqing --- v1->v2: Revert to "select PINCTRL_INTE" for PINCTRL_TIGERLAKE config. v2->v3: Update commit message. 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