Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1661618imu; Wed, 12 Dec 2018 02:01:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/VfRAo4szX85Bs0hWkJr1qTF8dBCwNaGE5G0/FutjFVc/9O2xScL3JTPICGm6su2y4odUwq X-Received: by 2002:a63:63c3:: with SMTP id x186mr17735535pgb.330.1544608863427; Wed, 12 Dec 2018 02:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544608863; cv=none; d=google.com; s=arc-20160816; b=Z6J+8KRnnAkmItcv9GpJ1u8JiME8eJQBes6XUd4tarhR8DFVbOwh1q0wYGpEBW15dg rsboOuBI7AO1RAcSqS2A/MC3ieAoxzuwbVFQ3w68MeilPZU14A2YuwqsffIJnlTBUGAZ f3M6RlLrQJ9bQbHEVp4/Bk5pV2zlaMpWD5RKH9PH3A6guOM+ajjGoUpPAwbpj0WhKt4e 6W4USlAodJsTDsMIjozzn+TqUMswk8kibNigVCV4xrwj6XSlRjs8xTPIx5WB4iI8EpaV kILqTNGzUVo3zNLli7pKEESZ4uJPC9YEBEkrVHNtCBXBcIwNy/s4srJ37j66rRcUFs9N hI5A== 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=yaMIZ/ebG97o+u5USh6pJsu7EwNmHFyMlCKiBXnRMao=; b=GqlJ+cANm+BKXkibU7db+T2DS0bvzfGq2oXR3IArg6V/c6L4bPx36p31GwwzcVYBmk n/HC8U+h1OuC6k1O9DlqYEz6/rqxp8QAzi3PT1VkRBdKpnhxw2SumvYM9FTcNqpwRz5I nmIBCe6677KCn1+qEPuZ8Y0n42W0H2e/m4bOXTnUMYmTB4BjiskTlbWelNSS/0I19yh2 2zWA5JYSoe9XJe4/AWVRRmimYDHanBHTrnRoXNVj9vSl+GeNqtprb8sRemqIPNXRq2Kz b+cMwXE6mjbaguAfnZZ/ddpmIagavpTB8jhtoQt2gSMOs9ot8vQvYbEWJzlidLNhvV6i ZuyQ== 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 s59si14762827plb.237.2018.12.12.02.00.47; Wed, 12 Dec 2018 02:01:03 -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 S1726994AbeLLJ7H (ORCPT + 99 others); Wed, 12 Dec 2018 04:59:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:33621 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726598AbeLLJ7H (ORCPT ); Wed, 12 Dec 2018 04:59:07 -0500 X-UUID: 17f31f2f67324714a4f79407f16a066d-20181212 X-UUID: 17f31f2f67324714a4f79407f16a066d-20181212 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 646566370; Wed, 12 Dec 2018 17:59:00 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 12 Dec 2018 17:58:59 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 12 Dec 2018 17:58:59 +0800 From: Ryder Lee To: Linus Walleij , Sean Wang CC: Matthias Brugger , Weijie Gao , , , , , , Ryder Lee Subject: [PATCH] pinctrl: mediatek: improve dependencies for PINCTRL_MTK_MOORE Date: Wed, 12 Dec 2018 17:58:52 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Improve dependencies for the pinctrl drivers which select PINCTRL_MTK_MOORE as its core layer. --- drivers/pinctrl/mediatek/Kconfig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index d8cb584..3a41dc8 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -23,6 +23,7 @@ config PINCTRL_MTK_MOORE select GENERIC_PINCTRL_GROUPS select GENERIC_PINMUX_FUNCTIONS select GPIOLIB + select EINT_MTK select OF_GPIO config PINCTRL_MTK_PARIS @@ -45,14 +46,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 +94,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