Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1228382ybg; Wed, 29 Jul 2020 08:50:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9xddaiPzsgbGrvdAvS478YplteK+5Dyqm5hGE01XFbiaJwy7F1r+C3gDeANv1weEKguRy X-Received: by 2002:a17:906:1453:: with SMTP id q19mr32108362ejc.111.1596037851329; Wed, 29 Jul 2020 08:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596037851; cv=none; d=google.com; s=arc-20160816; b=QMjawUa2/HznYQkvuVWILv4MB2DaHQf/JXnYke2fDjEM8nx3nhSvTO7bw+B5v02bpS /L5IKMnYIupXFr/7bD9/mWwqJ2asulZI0RbSAeAbp0JkQFWKKok/E9sJ78jMqEljK497 3/GS1DKnW+FEf7fmORVEnvbIgKIkqGcznWLoI0j93EG8UCQ3LgiD24fUoEEcvxxcnLRY d6Pfn6m8oaK4/tGmJQkQKji1melHSmKtOdE6P8AOrZ7M7OD5ecWa48qRnfzsPbTAGgl0 pQPbTGEUHKMxl07yPcSF5b763FxoicS+XI3Y/QEqxyLy0JnwbxA9Kod/PJ/uFyXPrDRG N7TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=f4yHTZGKJeiOh/fzXGzJWsk5XW/uGAj9eRrBbCfeQRo=; b=plIpNsqIE6YTiJsSyi/XJmkTD7wDsJjGPl+5xtpMNNPNVGvHroE1CaUn5kd/l+m+9U Ot3D4V+8Dji7sirXfKY6nf4z3r7FwAF35lB9k0wVB07ZJ5odp1awYGuEBhhrLgl9GF48 QKoCmDg7grYgrJwVu7VIJ3pW9iNfeWSVfJCqZbOkN42O6CCNb6kWqnDldr+Nj6LltKck yMOV19NYDFIseE+Oc6OW0c3fTZiYPf6OmPjmpn8Wm1BxRvoBlnrWOPuCuCpxyrTXuyFE 56cTsWavGAlzipxy1QV+aKVlURjFAJdmhDIqu077dCOD2rJQDOStKOVhMD09laQq10QP hUew== 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 g13si1482712edu.319.2020.07.29.08.50.29; Wed, 29 Jul 2020 08:50:51 -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 S1727026AbgG2Ps1 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Jul 2020 11:48:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbgG2PsZ (ORCPT ); Wed, 29 Jul 2020 11:48:25 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1FB3C0619D2 for ; Wed, 29 Jul 2020 08:48:24 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0oJB-0001wi-1O; Wed, 29 Jul 2020 17:47:57 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1k0oJ5-0005Bq-Cr; Wed, 29 Jul 2020 17:47:51 +0200 Message-ID: <0cdecff564215de6711ca04e063fa696a160fad9.camel@pengutronix.de> Subject: Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default From: Philipp Zabel To: Rob Herring , Anson Huang Cc: Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Bjorn Andersson , Yang-Leo Li , Vinod , Geert Uytterhoeven , Olof Johansson , Andrew Murray , Thierry Reding , Vidya Sagar , Kunihiko Hayashi , Jonathan Chocron , Dilip Kota , Krzysztof Kozlowski , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , PCI , NXP Linux Team Date: Wed, 29 Jul 2020 17:47:51 +0200 In-Reply-To: References: <1595254921-26050-1-git-send-email-Anson.Huang@nxp.com> <1595254921-26050-3-git-send-email-Anson.Huang@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-07-29 at 09:26 -0600, Rob Herring wrote: > On Mon, Jul 20, 2020 at 8:26 AM Anson Huang wrote: > > i.MX7 reset driver now supports module build and it is no longer > > built in by default, so i.MX PCI driver needs to select it explicitly > > due to it is NOT supporting loadable module currently. > > > > Signed-off-by: Anson Huang > > --- > > No change. > > --- > > drivers/pci/controller/dwc/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig > > index 044a376..bcf63ce 100644 > > --- a/drivers/pci/controller/dwc/Kconfig > > +++ b/drivers/pci/controller/dwc/Kconfig > > @@ -90,6 +90,7 @@ config PCI_EXYNOS > > > > config PCI_IMX6 > > bool "Freescale i.MX6/7/8 PCIe controller" > > + select RESET_IMX7 > > This will break as select will not cause all of RESET_IMX7's > dependencies to be met. It also doesn't scale. Are you going to do the > same thing for clocks, pinctrl, gpio, etc.? > > You should make the PCI driver work as a module. Oh, also PCI_IMX6 is used on (surprise) i.MX6, which doesn't need RESET_IMX7 at all. How about hiding the RESET_IMX7 option and setting it default y if PCI_IMX6 is enabled, as an interim solution? regards Philipp