Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp351527imu; Wed, 12 Dec 2018 18:30:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/WTMVDDDZaIvHFpphZgGOU35UkKndBQbEAbin2DvNpOSY6IN9EMoraqXxZg2/vTNgZPVo2m X-Received: by 2002:a62:7504:: with SMTP id q4mr22037106pfc.180.1544668235178; Wed, 12 Dec 2018 18:30:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544668235; cv=none; d=google.com; s=arc-20160816; b=BqWLLgmbPOe+UT1fGIdq2iqAP2Tab+W/X2p24IoQSmpj1JlQ/FUIw7JWNXc0MVg/nA LkaShmxacNUsKhsFJx5PEyBbMT4ypUN8+0JgH5zkVEHw/GNQDkY0USWNhflsELQas58o diJVxjaTZ8UphTFwbxkfFKh4xQz5IzajcAiY2/h9bKjo86EHHdtKrH7BzPhLjXBpI01n zzKSIGTx7zx4wSjYbnaBzafuNHp3T+BZo7Twi+/y+OOgmGY2H3ZunK+qW7CjbfVvX/Q9 zompyEMymsY49pCT2JxzzOcHKySQX7k8otGmeLW7TXjHTe7sGrPUa57PqjhZshxsyClF 02rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=apExjkmuTqdRazLexJzcposfFcPyL4/JdGlIqom/8LY=; b=uHFrqwlxXD7GrP2eCGdqxsj58qJc+qKSDo+8i/SYSiKEzZuS1wlGkN3RcNylDO8uwj 4EG0HnT6PwhKQfz15cwUvBlMIHBFXd38oXHSKKk29fhXrGhIpebTm/Wk6b6agfUrxOJb gdoy1b7NvHo8CeTUywf5OyYCiO8JLa/X+2EpKza8EEw8L3vMSc77mJReamXw7HyYGmeB ZRIbEfT/3uuneJ1/ekDZip0VZv2RaO+2nLEXCSzr4iMxrTo2wpaMv2Dr45dZfiW/qQ0C ZELz/XbeQi2Er6qOJDXg3jJfgfobYoiZsqojdrZIZp5d4+9p339iV0gxKl6TAWMV3SUi Risg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21si442974pgk.74.2018.12.12.18.30.19; Wed, 12 Dec 2018 18:30:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726757AbeLMC2K (ORCPT + 99 others); Wed, 12 Dec 2018 21:28:10 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:37614 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726381AbeLMC2J (ORCPT ); Wed, 12 Dec 2018 21:28:09 -0500 X-UUID: c0a92660643d46bdae0eddd384e92c5a-20181213 X-UUID: c0a92660643d46bdae0eddd384e92c5a-20181213 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 61952231; Thu, 13 Dec 2018 10:27:56 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 13 Dec 2018 10:27:54 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 13 Dec 2018 10:27:54 +0800 From: Ryder Lee To: Linus Walleij , Sean Wang CC: Matthias Brugger , Weijie Gao , , , , , , Ryder Lee Subject: [PATCH v1] pinctrl: mediatek: improve Kconfig dependencies Date: Thu, 13 Dec 2018 10:27:50 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 74EC1AB088B4CA87EB1FB2653C89E3A127430D56A4982A245F8657EB419E777A2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove prompts to make all pinctrl cores to non-visible symbols and make sure the target SoCs would be coupled with the corresponding cores. Signed-off-by: Ryder Lee --- Changes since v1: - Revise commit message - Change all pinctrl cores to non-visible symbols - Drop EINT_MTK in PINCTRL_MTK_MOORE --- drivers/pinctrl/mediatek/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index d8cb584..1817786 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -17,7 +17,7 @@ config PINCTRL_MTK select OF_GPIO config PINCTRL_MTK_MOORE - bool "MediaTek Moore Core that implements generic binding" + bool depends on OF select GENERIC_PINCONF select GENERIC_PINCTRL_GROUPS @@ -26,7 +26,7 @@ config PINCTRL_MTK_MOORE select OF_GPIO config PINCTRL_MTK_PARIS - bool "MediaTek Paris Core that implements vendor binding" + bool depends on OF select PINMUX select GENERIC_PINCONF @@ -45,14 +45,14 @@ config PINCTRL_MT2701 config PINCTRL_MT7623 bool "Mediatek MT7623 pin control with generic binding" depends on MACH_MT7623 || COMPILE_TEST - depends on PINCTRL_MTK_MOORE - default y + default MACH_MT7623 + select PINCTRL_MTK_MOORE config PINCTRL_MT7629 bool "Mediatek MT7629 pin control" depends on MACH_MT7629 || COMPILE_TEST - depends on PINCTRL_MTK_MOORE - default y + default MACH_MT7629 + select PINCTRL_MTK_MOORE config PINCTRL_MT8135 bool "Mediatek MT8135 pin control" @@ -93,8 +93,8 @@ config PINCTRL_MT6797 config PINCTRL_MT7622 bool "MediaTek MT7622 pin control" depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MTK_MOORE - default y + default ARM64 && ARCH_MEDIATEK + select PINCTRL_MTK_MOORE config PINCTRL_MT8173 bool "Mediatek MT8173 pin control" -- 1.9.1