Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1213020ybg; Wed, 29 Jul 2020 08:28:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygPdPvcNmtvER3TwUz0iuInyxQWZ9TcWLGSpuxzVy9s8uQBPeJKvNdLlM45XYBFL1xg824 X-Received: by 2002:a05:6402:339:: with SMTP id q25mr1940016edw.268.1596036539064; Wed, 29 Jul 2020 08:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596036539; cv=none; d=google.com; s=arc-20160816; b=JPONSyn0zZZBgV0cPIO9FthKnoeN/M4nEBJYFJWVcmEc7z2U1cx5F0UfGO62yxKO4r nCsEKYNWSSSAmMn8BlsNaP4CCKkezd6eTasMzE2PXQjJySQFktCp0I6w2F/ZK6yqp2WS ctGJBhWYTa9fSeLLbtQtBq66DnN1qVZgqB4zGTtM4uSPyKLixtr0duLLmAS0QaSX9jMw KyUecjDsf3p02lbK8qYoTbwz9ILpsnWyQRUidMl5PG4WjvST/nP8iAyTZJITcweaAypB QaZxadkejWYO+FyMaPesnw9nq4kXoIhHu4jbwIrIm2UlX1y8/Q5vL+T6T15laIVrlppv 4gvQ== 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=MxTDT73hujJqTBi2rgVwzWu3ZgZyGoaLomyOxo5FBwk=; b=MJ0naLI1L89TWmpmN5zyO0WHYqbJjSKHBz7mcjScapfT98eN3gN9snmnRVO2Lz22rc pEcGr6iLMP17GzDXxcXWoU7LerVfQ7qdtUomHKlNv7IsRxtEbVOFwL5t4zw6yxH+A2iQ Oq2o1vJnWSkVLx0KJGpcAFeD2F0ixjbw+xPCNRxVm77f/aGZCPN/I8s0iliJwWnx89lm atDr8rC6pOATywHYpoAB39JPr5oY8jkhyCdZBSlErLJRdFZrhdI6GHdI3mjKvGM5QsZH 6HorOWLsBUlG9zCNQHVEDREKOHIzgSZ19/x0QqNfiTt6DN3k/UYfAanQuWT+pcbVROnT 3/Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t3epJ9Jg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov30si1423242ejb.181.2020.07.29.08.28.35; Wed, 29 Jul 2020 08:28:59 -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; dkim=pass header.i=@kernel.org header.s=default header.b=t3epJ9Jg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726519AbgG2P0X (ORCPT + 99 others); Wed, 29 Jul 2020 11:26:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:59492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbgG2P0W (ORCPT ); Wed, 29 Jul 2020 11:26:22 -0400 Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com [209.85.161.50]) (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 3A0D822BEA; Wed, 29 Jul 2020 15:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596036382; bh=e1IZGk2HLbSVU9AcuM8GnjZfSFc5InB7KRTY0ZrYV5I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=t3epJ9JgT70OxRHY9SR0cQhqzIwOkOkPFeVJF5ioZisTS105rlxyeVdprT+2yhYo5 JAi69THnCauCt76IoxxgsfIKXND4ja9JKr0GMtVC76v7aJaSIi+Ovja8TMTjDqIhWo KL5HRjx3iPyOutLs9RESRlLoevnlz8FnwCrEce/g= Received: by mail-oo1-f50.google.com with SMTP id x1so2422466oox.6; Wed, 29 Jul 2020 08:26:22 -0700 (PDT) X-Gm-Message-State: AOAM530T6+mPn2hqL5TVm3/DWCnfL0UiIn/c7RUGUJJrJerS3hJhg4M7 AKCXE8QHZ2jtHD0PZJFzyhzz3sNqhZ7GxSNkIQ== X-Received: by 2002:a4a:ae07:: with SMTP id z7mr28490313oom.25.1596036381394; Wed, 29 Jul 2020 08:26:21 -0700 (PDT) MIME-Version: 1.0 References: <1595254921-26050-1-git-send-email-Anson.Huang@nxp.com> <1595254921-26050-3-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1595254921-26050-3-git-send-email-Anson.Huang@nxp.com> From: Rob Herring Date: Wed, 29 Jul 2020 09:26:10 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default To: Anson Huang Cc: Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Bjorn Helgaas , Philipp Zabel , 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 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 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. Rob > depends on ARCH_MXC || COMPILE_TEST > depends on PCI_MSI_IRQ_DOMAIN > select PCIE_DW_HOST > -- > 2.7.4 >