Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp302940pxb; Fri, 15 Oct 2021 06:00:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUHHuPyzjwm73i1nkt2jbuo6FM3bwdLXJeGhh5VGv2NHhpYZtrs5sI7JbdlPiClG7eyWXr X-Received: by 2002:a17:902:b20e:b029:12b:fd6f:44c3 with SMTP id t14-20020a170902b20eb029012bfd6f44c3mr11055686plr.36.1634302801393; Fri, 15 Oct 2021 06:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634302801; cv=none; d=google.com; s=arc-20160816; b=GBPaITCbM58ceaL0KN9pbD8QC5bKFNYzTJIQFYiSKfX+xsaN15YziPKCyPyZMI5Mts a+H7SLWRJNyJ3M9gT7jCPzgz/tKeHe96EuFs+YlAybOnICkwitHVIXFs5SssCvj+gMdJ yvF9T+Nvvc1B0HpbkkuVyexvDNhJFUczPcltT5o3bX1fuOA3iOqEWXatC6CSs7NwXk+O g4fPRkNFSp8dvU4aJBOuxwHROUKXcXy+IasFexNToExXzdRk8pA972iljI964gcznhsu ARDXNVTy/MtI1jCG2Xn/EmLOuzQ5aRA1f4RwoEBgcvzRsO3Y+vzKYJXlJFKb+DDEN29K BDPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=wXfiiikH/yHYc0gRfFARJ9q31uRft95K6WbHPvoEN8A=; b=yCYZ2cbkoBRjS14tvkyt0Kvsbk7zswIt+LwE3orhp9wwayXhTNfiup3ft+hAdDdHMx UtOST+G5+GMh38CxG6WETDZryEYr8Y6FHdKfmTk5Q6/+WrNZLUHBenRrV1u1pGOQBpOD prwbBRXG2d6EzX61r6Jhpa3dOwjKID4ZEivkiEIFgxm5KvNglWYUctnR5gOm1OJn6hQM SWzHfOzZYRMqyQBOeKakrfpC76xJDX5+gY38d3pUH7foyovvUpz5mghfynxzE+BnnE+j qp9BH8juzgwgAf91+VpmVynxZdrfEv1x9+mJlgC6llMFbHngnLK+YthKxXWFTLzrz3yZ hHYA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si936275pjz.98.2021.10.15.05.59.17; Fri, 15 Oct 2021 06:00:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235505AbhJOGcs (ORCPT + 99 others); Fri, 15 Oct 2021 02:32:48 -0400 Received: from inva020.nxp.com ([92.121.34.13]:37166 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231612AbhJOGcq (ORCPT ); Fri, 15 Oct 2021 02:32:46 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2463F1A15D8; Fri, 15 Oct 2021 08:30:38 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E162A1A15E5; Fri, 15 Oct 2021 08:30:37 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id AF278183AC94; Fri, 15 Oct 2021 14:30:36 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.com Cc: linux-pci@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [RESEND v2 0/5] PCI: imx6: refine codes and add compliance tests mode support Date: Fri, 15 Oct 2021 14:05:36 +0800 Message-Id: <1634277941-6672-1-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series patches refine pci-imx6 driver and do the following changes. - Encapsulate the clock enable into one standalone function - Add the error propagation from host_init - Balance the usage of the regulator and clocks when link never came up - Add the compliance tests mode support Main changes from v1 to v2: Regarding Lucas' comments. - Move the placement of the new imx6_pcie_clk_enable() to avoid the forward declarition. - Seperate the second patch of v1 patch-set to three patches. - Use the module_param to replace the kernel command line. Regarding Bjorn's comments: - Use the cover-letter for a multi-patch series. - Correct the subject line, and refine the commit logs. For example, remove the timestamp of the logs. drivers/pci/controller/dwc/pci-imx6.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------- 1 file changed, 105 insertions(+), 61 deletions(-) [RESEND v2 1/5] PCI: imx6: Encapsulate the clock enable into one [RESEND v2 2/5] PCI: imx6: Add the error propagation from host_init [RESEND v2 3/5] PCI: imx6: Fix the regulator dump when link never [RESEND v2 4/5] PCI: imx6: Fix the clock reference handling unbalance [RESEND v2 5/5] PCI: imx6: Add the compliance tests mode support