Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1535331pxb; Sun, 12 Sep 2021 23:05:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweA7ZDsaw/70jes5lrSPz6SeeFwubmm+AzIyjNIqmu9xV3aSddvyKGPhQBsOer/i/9ttJQ X-Received: by 2002:a05:6638:168a:: with SMTP id f10mr8291519jat.121.1631513120032; Sun, 12 Sep 2021 23:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631513120; cv=none; d=google.com; s=arc-20160816; b=nAKTxe5+puqT4DtqB7/6n6OY+gxD0B5vwQrReK3ptV2FmifdE7v/QXcI51VqiSsZe7 5YFZzDYOBu/YkzYtaAVmXRXjfm3B653+qs9vowPRuOy8Bvs7m0gAgzaIqPfjpKu7aBuX MDnGD0XLbjzd0aVf/0UzyCCtsgjKYbTuiRYya6tlToKD5vx6nkhjcET7tnMAtqcs9Dhs eXoQ/4dOPx5adQbOfT3QVxxb6zbbR2DJ5o377aTEkbp14gOeO4njTxhic7qetbW4mgBm 0zYrLago6e80fIhch0G6/mS0jIAhNxnpEDK8/zERH35hqjBy4C9NoYUrEPr4FcNuqB/J JG+Q== 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=NFlVdpjG0LbM5H1HenCDeIJjHknFk71xnKhC/mANdJM=; b=Rg6b649CCmp1BDMN9iTHxFFM2q5VgCoivdxrttaVvRObp/KV1wZdttBlmLQLeOXKih fcdZMwD0u1n41PHj1W6hhMXKo6tGx+4zQv7VaX5TeF6YSijvR0RiolYgY01QgLlckU21 A+dDcYFbqXEHg8jD0O3ApKnUuLFmeboo8JUUpzTb3Sv7lLNnbrbBspbVkIv8+2YmLG/F Dcpyhz+q2X1aGoQj6eNlqVVhdiFzPzs1CyjtOgk6ndW/dGesbHioClVvHslJ8cZMpe2k zqCxJ8G3n0h9wLmJqMeT5DGPlGfnOwpIm2P37G6VeI7BVh7RqwTNJC4WnmOPQr17FC11 fATg== 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 h26si5893628ioz.60.2021.09.12.23.05.03; Sun, 12 Sep 2021 23:05:20 -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 S237278AbhIMGFg (ORCPT + 99 others); Mon, 13 Sep 2021 02:05:36 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42086 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237248AbhIMGFf (ORCPT ); Mon, 13 Sep 2021 02:05:35 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6DA502028B9; Mon, 13 Sep 2021 08:04:19 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 365FC20043F; Mon, 13 Sep 2021 08:04:19 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id DCA28183AC88; Mon, 13 Sep 2021 14:04:17 +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: [PATCH v2 0/5] PCI: imx6: refine codes and add compliance tests mode support Date: Mon, 13 Sep 2021 13:41:05 +0800 Message-Id: <1631511670-30164-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(-) [PATCH v2 1/5] PCI: imx6: Encapsulate the clock enable into one [PATCH v2 2/5] PCI: imx6: Add the error propagation from host_init [PATCH v2 3/5] PCI: imx6: Fix the regulator dump when link never came [PATCH v2 4/5] PCI: imx6: Fix the clock reference handling unbalance [PATCH v2 5/5] PCI: imx6: Add the compliance tests mode support