Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp419721imu; Wed, 12 Dec 2018 20:23:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/W5CrW6HEBp/oItE7tJKjUSOV/f0drrPKfRXXdYteScBX6CpbXrpSUr8n4nJXxZLAT1VtW1 X-Received: by 2002:a63:9b11:: with SMTP id r17mr20822145pgd.416.1544675038244; Wed, 12 Dec 2018 20:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544675038; cv=none; d=google.com; s=arc-20160816; b=mb7E0mWgCV0iZ882QXDRifDVUfRScOxkkkPBbwhYj5mrcOCT7QkB7mDcBep4CTl+hp 3hironleZB5dwvj4CG7LD4Cx+NctDImIwm0/FOsd3a12sjrzPjjW9yNx+sd0szAw9OHl i82NeJQ+C1B9mOOyJ7GC2DNlA+zv5KjRek3CsHCHXLBgyZtGLDT0MyL8qMk8r3s40CKA /gyIu0MzYYFjhrS3v6Ay3aLddDu5cGnVNtZQD/GergVXon1zxrMpH1PFP4UHgbH5NPtn PqgN6TsSKh8J/lL8tYyVBBPXHk5FjchRChZJ46giJFI8VMgn3/OaTZlOvUnAitpiENOI HrTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8NxX5TAwdrB3tWbdP+c73tZz+7NSb7Z6MdVpJ3JxoHI=; b=ep326IHg0Js7kfkd4/vGcWk4xQ05zfG9cJcPWmoKaIQZUWl7OTr02Y3DpZ4PivugOc HT1ZVRTUCvjT2fUfiaEzXUYGTE800iXfgmoVRimGFKRtZ7npIDxT/CwZp/wn0HY1vfcV 22qxmRLGXrpGhEI64LNiMjIRc3JEMIfqmIjZPJ24tr3joZQ5nmo9SfPNOH6hbmpO3rMz IxF2bCy6BdxVSsAwuYT9QOicIfx11dN33D3iX9meWfiIo0GPWNjDI4SSPnmamYxdIha/ tr3JQUL29VnxjcIBDMxWXawO26uVl++EDXdv8T5qy6A++2NUEy4Q7Cfzkn3CJ/IJWL1Z qQDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DQINxOMO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8si539668pgf.577.2018.12.12.20.23.42; Wed, 12 Dec 2018 20:23:58 -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; dkim=pass header.i=@kernel.org header.s=default header.b=DQINxOMO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726782AbeLMEVe (ORCPT + 99 others); Wed, 12 Dec 2018 23:21:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:37930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbeLMEVd (ORCPT ); Wed, 12 Dec 2018 23:21:33 -0500 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8F58120873; Thu, 13 Dec 2018 04:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544674892; bh=W14iNjL5prFtXssrAezogBdWYOtqCQcslOu1nXO2DPI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DQINxOMOOCFIuAe2R4TB6ZnzeW3Ezuo3snFQfJm5vi6IKT48y0cVyYRrsOsB47Udd Xzws+IyRtWWtwXBzhaHIG3J1aIMo7y9qjnhSNM9fvF6QOqBEd9/Gqvz/4uxRfnAAc/ 12FcqbKYMtOfIbTXLfCmP0RW7GnIJvcBXajNEG4s= Received: by mail-wm1-f43.google.com with SMTP id n190so929533wmd.0; Wed, 12 Dec 2018 20:21:32 -0800 (PST) X-Gm-Message-State: AA+aEWYZ0uAkorIpdb0g3qgicBZGdU/taUDhYl0C8rvHrxIQWHVDkAOx YJuAekjpzkurFGaLXAyCdmDgW/096FGcTOk8ej8= X-Received: by 2002:a1c:2e43:: with SMTP id u64mr8940947wmu.52.1544674891066; Wed, 12 Dec 2018 20:21:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Sean Wang Date: Wed, 12 Dec 2018 20:21:04 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1] pinctrl: mediatek: improve Kconfig dependencies To: =?UTF-8?B?UnlkZXIgTGVlICjmnY7luproq7op?= Cc: Linus Walleij , Matthias Brugger , weijie.gao@mediatek.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It looks good to me. Thanks for bringing the improved version soon. Acked-by: Sean Wang On Wed, Dec 12, 2018 at 6:28 PM Ryder Lee wrote: > > 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 >